FS#31821 - [rsyslog] default rsyslog.conf contains deprecated syntax

Attached to Project: Community Packages
Opened by jstjohn (jstjohn) - Saturday, 06 October 2012, 02:31 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 19 November 2012, 14:43 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: The default /etc/rsyslog.conf has the following line which contains deprecated syntax:
*.emerg *

Check the config file:
[root@hostname etc] # rsyslogd -N6
rsyslogd: version 6.4.0, config validation run (level 6), master config /etc/rsyslog.conf
rsyslogd: action '*' treated as ':omusrmsg:*' - please change syntax, '*' will not be supported in the future [try http://www.rsyslog.com/e/2184 ]
rsyslogd: warning: selector line without actions will be discarded
rsyslogd: End of config validation run. Bye.

Changing that line to this one will fix the deprecated syntax warning:
*.emerg :omusrmsg:*

Check the new config file:
[root@megahurtz etc] # rsyslogd -N6
rsyslogd: version 6.4.0, config validation run (level 6), master config /etc/rsyslog.conf
rsyslogd: warning: selector line without actions will be discarded
rsyslogd: End of config validation run. Bye.

Additional info:
* package version(s): 6.4.0-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 19 November 2012, 14:43 GMT
Reason for closing:  Upstream
Comment by Sergej Pupykin (sergej) - Thursday, 11 October 2012, 11:13 GMT
default rsyslog.conf is in source tarball, please report upstream

Loading...