Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#6854 - courier-mta uses wrong pid directory

Attached to Project: Arch Linux
Opened by Pierre Schmitz (Pierre) - Monday, 09 April 2007, 11:52 GMT
Last edited by Tobias Kieslich (tobias) - Thursday, 03 May 2007, 21:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

courier-mta is configured to use /var/run to store the pid files of its daemons and scripts.

courierfilter does not work with this directory becase it is own by root and not writeable by the courier user.

To solve this courier has to be compilied with "--with-piddir=/var/run/courier" and "/var/run/courier" must be owned by courier:courier.

To reproduce this problem: just try to run "courierfilter start".
This task depends upon

Closed by  Tobias Kieslich (tobias)
Thursday, 03 May 2007, 21:27 GMT
Reason for closing:  Implemented
Comment by Tobias Kieslich (tobias) - Monday, 09 April 2007, 18:07 GMT
we need the pid-file in var/run to keep the shutdown scripts working
Comment by Pierre Schmitz (Pierre) - Tuesday, 10 April 2007, 08:30 GMT
I don`t think so. The shutdown script uses /var/run/daemons/. Anyway: this seems to be fixed in the newest courier-mta package. Thanks.
Comment by Tobias Kieslich (tobias) - Tuesday, 10 April 2007, 17:21 GMT
I know, I moved it after checking debians layout and for this purpose it makes sense. However, I think cleaning up the daemons by pids instead of the daemon var seems a bit cleaner to me. Using /var/run/daemons should be the last fallback. we still can use the pid based approach though by finding *.pid running recursively through /var/run/*.pid
However I hope it's fixed for you now. That was the reason why I also rebuild courier-imap.

Loading...