Your message dated Mon, 27 Oct 2025 13:23:57 -0700
with message-id <5292565.2eVUGtoA5F@soren-desktop>
and subject line courier-imap: does not chdir / when daemonizing
has caused the Debian Bug report #304825,
regarding courier-imap: does not chdir / when daemonizing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
304825: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=304825
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

-- 
weasel


--- End Message ---
--- Begin Message ---
I am going to close this bug report as there has been no response to my 
previous email.  If anyone is still experiencing this issue, feel free to 
reopen the bug.

-- 
Soren Stoutner
[email protected]

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to