Yes, a symlink
root@wheezy4:/# ls -ls /var/run
0 lrwxrwxrwx 1 root root 4 Oct  4 16:30 /var/run -> /run
root@wheezy4:/# ls -ld /run
drwxr-xr-x 25 root root 780 Nov  4 18:59 /run

After shutting down  cyrus I got (newish symptom)
root@wheezy4:/# /etc/init.d/cyrus-imapd start
find: `/run/cyrus/proc': No such file or directory
root@wheezy4:/# ls -l /run/cyrus
total 0
drwx------ 3 cyrus mail 60 Nov  4 18:39 lock
drwxr-x--- 2 cyrus mail 80 Nov  4 18:59 socket

Ross
________________________________________
From: Ondřej Surý [[email protected]]
Sent: Thursday, October 23, 2014 2:56 AM
To: Boylan, Ross; [email protected]; Ross Boylan
Subject: Re: Bug#766403: cyrus-common: Restarting Cyrus IMAPd: cyrmasterfind: 
`/run/cyrus/lock': No such file or directory

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
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel


--
Ondřej Surý <[email protected]>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to