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)?
.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to