Red Hat Bugzilla – Bug 248982
-r option in /etc/sysconfig/syslog breaks rsyslog
Last modified: 2007-11-30 17:12:10 EST
I have "-r" as one of the flags in SYSLOGD_OPTIONS in /etc/sysconfig/syslog.
When I upgraded to rsyslog as part of a "yum update" against devel, it copied
/etc/sysconfig/syslog to /etc/sysconfig/rsyslog, preserving the "-r" flag, and
thus causing rsyslog to fail to start up properly.
I think the upgrade from sysklog to rsyslog probably needs to be a bit smarter
about stuff in /etc/sysconfig/syslog.
Also, the /etc/sysconfig/rsyslog that ships with rsyslog still claims that -r
does something that it doesn't and still lists -m 0 even though (according to
the man page) it doesn't do anything with rsyslogd.
As best as I can tell, the equivalent of "-r" in sysklogd is "-r 0" in rsyslogd.
It should be fixed in rsyslog-1.17.1-1.fc8
I am the rsyslog maintainer.
I will fix the -r option in 1.17.2. The rule, I think, should be that if -r is
NOT followed by a number, that means -r 0, which is compatible with what
sysklogd did. Will check on -m 0.
I have now changed the -r option, its cvs and will be available in 1.17.2 as
said before. The -m option is fully functional, that was a doc error. Its
upstream version 1.17.2 was just built