Is your /var/run symlink to /run? ondrej@lettie:~/Projects/pkg-cyrus-imapd/cyrus-imapd-2.4 (master)$ ls -ld /run/ drwxr-xr-x 25 root root 960 Oct 22 04:11 /run/ ondrej@lettie:~/Projects/pkg-cyrus-imapd/cyrus-imapd-2.4 (master)$ ls -ld /var/run lrwxrwxrwx 1 root root 4 Apr 19 2013 /var/run -> /run
If not, your system is broken. Cheers, Ondrej On Wed, Oct 22, 2014, at 23:41, Boylan, Ross wrote: > 1) The directories /var/run/cyrus and /var/run/cyrus/socket were both > present, owner cyrus, group mail. > > 2) I did dpkg-reconfigure to allow package removal to take out the > directories, and then purged the packages. This led to a complaint > "can't remove /var/run/cyrus, directory in use" (roughly). I dismounted > the directory and then removed it via rmdir. Then reinstalled the > packages. Still got the complaint; is it normal? > --------------------------------------- > Setting up cyrus-common (2.4.16-4+deb7u2) ... > Creating/updating cyrus user account... > dpkg-statoverride: warning: --update given but /var/run/cyrus does not > exist > dpkg-statoverride: warning: --update given but /var/run/cyrus/socket does > not exist > The user `cyrus' is already a member of `sasl'. > cyrus-common: Creating cyrus-imapd directories...Creating/updating cyrus > control directories in /var/lib/cyrus... > Creating/updating partition spool /var/spool/cyrus/mail... > Creating/updating partition spool /var/spool/cyrus/news... > Trying to optimize Cyrus partitions, edit /etc/default/cyrus-imapd to > disable... > done. > cyrus-common: Creating empty user_deny database...done. > Setting up cyrus-common-2.4 (2.4.16-4+deb7u2) ... > find: `/run/cyrus/lock': No such file or directory > find: `/run/cyrus/proc': No such file or directory > Setting up cyrus-imapd-2.4 (2.4.16-4+deb7u2) ... > Setting up cyrus-imapd (2.4.16-4+deb7u2) ... > ---------------------------------------------------------- > > Results: > root@wheezy4:/etc# umount /var/spool/cyrus/ > root@wheezy4:/etc# rmdir !$ > rmdir /var/spool/cyrus/ > root@wheezy4:/etc# # that was after purging cyrus > root@wheezy4:/etc# /etc/init.d/cyrus-imapd restart # after reinstall > Restarting Cyrus IMAPd: cyrmasterfind: `/run/cyrus/lock': No such file or > directory > find: `/run/cyrus/proc': No such file or directory > > But maybe that's just noise, and things are OK? > root@wheezy4:/etc# /etc/init.d/cyrus-imapd status > cyrmaster is running. > > And why is it looking in /run instead of /var/run (although my system > seems to have both)? > . > > _______________________________________________ > Pkg-Cyrus-imapd-Debian-devel mailing list > Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server _______________________________________________ Pkg-Cyrus-imapd-Debian-devel mailing list Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel