[Bug 1033081] New: fetchmail hardcoded to use log file - syslogging thus unavailable
http://bugzilla.suse.com/show_bug.cgi?id=1033081 Bug ID: 1033081 Summary: fetchmail hardcoded to use log file - syslogging thus unavailable Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: openSUSE 42.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jmozdzen@nde.ag QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- :~ # rpm -qi fetchmail Name : fetchmail Version : 6.3.26 Release : 18.1 Architecture: x86_64 Looking at fetchmail.service -> /usr/lib/fetchmail-systemd-exec, I see that using logging to log file is hard-coded there: --- cut here: /usr/lib/fetchmail-systemd-exec --- [...] exec /usr/bin/fetchmail $OPTS $FETCHMAIL_EXPERT_OPTIONS \ -f $FETCHMAIL_RC_PATH -L /var/log/fetchmail --- cut here --- Hence, activating logging to syslog via options doesn't work: --- cut here --- :~ # grep syslog /etc/fetchmailrc set syslog :~ # systemctl restart fetchmail :~ # 2017-04-09T17:36:13.480966+02:00 myhost fetchmail[4441]: syslog and logfile options are both set, ignoring syslog, and logging to /var/log/fetchmail --- cut here --- A possible change would be to move "-L /var/log/fetchmail" to /etc/sysconfig/fetchmail (i.e. to FETCHMAIL_EXPERT_OPTIONS variable, or a new one). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1033081
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1033081
http://bugzilla.suse.com/show_bug.cgi?id=1033081#c1
--- Comment #1 from Pedro Monreal Gonzalez
http://bugzilla.suse.com/show_bug.cgi?id=1033081
http://bugzilla.suse.com/show_bug.cgi?id=1033081#c2
--- Comment #2 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1033081
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1033081
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1033081
http://bugzilla.suse.com/show_bug.cgi?id=1033081#c9
--- Comment #9 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1033081
Pedro Monreal Gonzalez
http://bugzilla.suse.com/show_bug.cgi?id=1033081
Andreas Hasenkopf
http://bugzilla.suse.com/show_bug.cgi?id=1033081
Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1033081
Maintenance Robot
https://bugzilla.suse.com/show_bug.cgi?id=1033081
Gianluca Gabrielli
https://bugzilla.suse.com/show_bug.cgi?id=1033081
Pedro Monreal Gonzalez
https://bugzilla.suse.com/show_bug.cgi?id=1033081
Maintenance Robot
https://bugzilla.suse.com/show_bug.cgi?id=1033081
https://bugzilla.suse.com/show_bug.cgi?id=1033081#c16
--- Comment #16 from Swamp Workflow Management
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com