FS#28503 - [fetchmail] package should create /var/lib/fetchmail with fetchmail:nobody permissions
Attached to Project:
Arch Linux
Opened by Gregory Shimansky (gshimansky) - Saturday, 18 February 2012, 12:56 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 18 March 2012, 02:05 GMT
Opened by Gregory Shimansky (gshimansky) - Saturday, 18 February 2012, 12:56 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 18 March 2012, 02:05 GMT
|
Details
Description:
After installing fetchmail I couldn't figure out why /etc/rc.d/fetchmail doesn't start. It happened because /var/lib/fetchmail directory was not writable and .fetchmail.pid could not be created there. When package is installed it warns that /etc/fetchmailrc should be owned by fetchmail user. But it says nothing about /var/lib/fetchmail. At least add a message about it when fetchmail is installed. Additional info: * package version(s) extra/fetchmail 6.3.21-2 * config and/or log files etc. Steps to reproduce: Install fetchmail and try to run /etc/rc.d/fetchmail. The background process fails to start with no message (this is annoying). Only su-ing to fetchmail user (need a valid shell) and running shows why fetchmail cannot run. [fetchmail@myhost root]$ fetchmail -d 60 -N -f /etc/fetchmailrc fetchmail: starting fetchmail 6.3.21 daemon /var/lib/fetchmail/.fetchmail.pid: Permission denied fetchmail: lock creation failed. |
This task depends upon
Closed by Eric Belanger (Snowman)
Sunday, 18 March 2012, 02:05 GMT
Reason for closing: Fixed
Additional comments about closing: fetchmail-6.3.21-3
Sunday, 18 March 2012, 02:05 GMT
Reason for closing: Fixed
Additional comments about closing: fetchmail-6.3.21-3