[Bug 751125] New: courier-authlib - hardcoded PID dir permissions break maildrop
https://bugzilla.novell.com/show_bug.cgi?id=751125 https://bugzilla.novell.com/show_bug.cgi?id=751125#c0 Summary: courier-authlib - hardcoded PID dir permissions break maildrop Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: hvogel@suse.com ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de CC: chris@computersalat.de Found By: Beta-Customer Blocker: --- The courier-authdaemon initscript contains: COURIER_AUTHLIB_PID=$COURIER_AUTHLIB_PIDDIR/pid [...] install -d -m0700 -o root -g root $COURIER_AUTHLIB_PIDDIR; The problem with this is: the directory permissions are hardcoded, and manual permission changes are lost at the next reboot because /var/run is a tmpfs now. This breaks mail delivery with maildrop, which can/should run as non-root and needs to access the courier-authlib socket (to find out the maildir for a user). Please make the PID directory permissions (at least group and mode) configurable. The easiest solution is probably to add the config options to /etc/authlib/authdaemonrc The initscript should then be changed to something like: install -d -m$PID_DIR_MODE -o $PID_DIR_OWNER \ -g $PID_DIR_GROUP $COURIER_AUTHLIB_PIDDIR; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751125 https://bugzilla.novell.com/show_bug.cgi?id=751125#c Hendrik Vogelsang <hvogel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hvogel@suse.com |chris@computersalat.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751125 https://bugzilla.novell.com/show_bug.cgi?id=751125#c1 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Christian Wittmer <chris@computersalat.de> 2014-03-16 15:17:29 UTC --- ongoing work -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751125 https://bugzilla.novell.com/show_bug.cgi?id=751125#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-03-16 17:00:11 CET --- This is an autogenerated message for OBS integration: This bug (751125) was mentioned in https://build.opensuse.org/request/show/226303 Factory / courier-authlib -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751125 https://bugzilla.novell.com/show_bug.cgi?id=751125#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-03-17 23:00:13 CET --- This is an autogenerated message for OBS integration: This bug (751125) was mentioned in https://build.opensuse.org/request/show/226505 Factory / courier-authlib -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=751125 https://bugzilla.novell.com/show_bug.cgi?id=751125#c Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|chris@computersalat.de |qa-bugs@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com