Bug#825783: cyrus-imapd-2.4: Cyrus does not create directory in /var/run
Ondřej Surý
ondrej at sury.org
Mon May 30 07:46:08 UTC 2016
Hi Dmitry,
each init script runs:
/usr/sbin/cyrus init-helper start
that creates /var/run/cyrus and /var/run/cyrus/socket directories.
Could you run:
bash -x /usr/lib/cyrus/bin/init-helper start
on your system to see what went wrong?
Cheers,
--
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba
všeho druhu
On Sun, May 29, 2016, at 21:43, Dmitry Katsubo wrote:
> Package: cyrus-imapd-2.4
> Version: 2.4.17+nocaldav-2+b1
>
> Hello,
>
> I have noticed that Cyrus does not create necessary directory in /var/run
> when needed. For example, when the following is specified in
> /etc/imapd.conf
>
> lmtpsocket: /var/run/cyrus/lmtp
>
> the directory /var/run/cyrus is not created, even though Cyrus starts up
> and
> functions ok.
>
> Expected: the directory /var/run/cyrus (or any other necessary top-level
> directory) is created or Cyrus complains that directory is not writeable.
>
> Solution: Do it in init.d script (very draft suggestion is attached) or
> via
> /etc/tmpfiles.d/cyrus.conf:
>
> d /var/run/cyrus 0755 cyrus mail
>
> --
> With best regards,
> Dmitry
> _______________________________________________
> Pkg-Cyrus-imapd-Debian-devel mailing list
> Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel
> Email had 1 attachment:
> + cyrus-imapd.diff
> 1k (text/plain)
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list