Community Packages

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#34161 - [postgrey] systemd configuration doesn't log to syslog

Attached to Project: Community Packages
Opened by Jacob Joseph (jacobjjoseph.org) - Tuesday, 05 March 2013, 19:42 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 12 August 2013, 12:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The postgrey.service script omits the "--daemon" argument, and, in doing so, prevents postgrey from logging to syslog. This is a substantial change from the sysv init script. Adding --daemon restores correct functionality.

A relevant discussion is here: https://bugzilla.redhat.com/show_bug.cgi?id=714430

Thanks.
~Jacob
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 12 August 2013, 12:14 GMT
Reason for closing:  Fixed
Comment by Jacob Joseph (jacobjjoseph.org) - Tuesday, 05 March 2013, 19:46 GMT
I should note that the type must be changed to forking, as well.
Comment by Jelle van der Waa (jelly) - Sunday, 10 March 2013, 11:47 GMT
I don't think it should be changed to forking. Also I should mention that some people don't run syslog anymore. So with systemd 198 you should be able to overwrite the settings of a unit file and switch to syslog.
Comment by Jacob Joseph (jacobjjoseph.org) - Monday, 11 March 2013, 21:22 GMT
Whether using syslog or not, systemd's journald will receive the message. The only difference in this case is how postgrey sends the message. It happens that without --daemonize (corrected from above), postgrey will only output on stdout, and ignores any configuration options for, e.g., the syslog facility. In my case, I need to preserve that postgrey's messages are sent to the MAIL facility.

Why don't you think it forking should be used?
Comment by Jacob Joseph (jacobjjoseph.org) - Friday, 09 August 2013, 19:01 GMT
Sergej, This is again broken, by the commit for 1.34-14. ~Jacob

Loading...