On Fri, 15 Apr 2005 19:23:18 +0200 Peter Palfrader <[EMAIL PROTECTED]> wrote:
> Package: courier-imap > Version: 3.0.8-4 > Severity: normal > > When courier-imap daemonizes itself, it does not chdir to the / > directory. This means that whatever directory/filesystem the server was > started from by the administrator stays busy for no good reason: > > | lore:~# umount /disk5 > | umount: /disk5: device is busy > | umount: /disk5: device is busy > | lore:~# fuser -m /disk5 > | /disk5: 30086c 30099c 30142c > | lore:~# ps xauf | grep 30142 > | root 30142 0.0 0.2 3072 1452 ? S 19:10 0:00 \_ > /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/imaplogin > /usr/lib/courier/authlib/authdaemon /usr/bin/imapd Maildir > | lore:~# ps xauf | grep 30099 > | root 30099 0.0 0.1 1764 540 ? S 19:08 0:00 > /usr/sbin/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger > -stderrloggername=imapd-ssl -maxprocs=40 -maxperip=20 > -pid=/var/run/courier/imapd-ssl.pid -nodnslookup -noidentlookup 993 > /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/imaplogin > /usr/lib/courier/authlib/authdaemon /usr/bin/imapd Maildir > | lore:~# ps xauf | grep 30086 > | root 30086 0.0 0.1 1764 536 ? S 19:08 0:00 > /usr/sbin/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger > -maxprocs=40 -maxperip=20 -pid=/var/run/courier/imapd.pid -nodnslookup > -noidentlookup 143 /usr/lib/courier/courier/imaplogin > /usr/lib/courier/authlib/authdaemon /usr/bin/imapd Maildir > | lore:~# /etc/init.d/courier-imap stop > | Stopping Courier IMAP server: imapd. > | lore:~# cd / > | lore:/# /etc/init.d/courier-imap-ssl stop > | Stopping Courier IMAP-SSL server: imapd-ssl. > | lore:/# /etc/init.d/courier-imap start > | Starting Courier IMAP server: imapd. > | lore:/# /etc/init.d/courier-imap-ssl start > | Starting Courier IMAP-SSL server: imapd-ssl. > | lore:/# umount /disk5 > | lore:/# > > Courier should chdir / somewhere in its daemonizing process. See > http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16, point 4. That sounds reasonable. At least the init scripts should chdir to /. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]