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#22611 - [rsyslog] need method to specify command-line args (patch included)

Attached to Project: Community Packages
Opened by Ray (ataraxia) - Wednesday, 26 January 2011, 22:12 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 27 January 2011, 15:05 GMT
Task Type Feature Request
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

For rsyslogd, it is very valuable to be able to change command-line arguments the daemon is started with. The current initscript always starts it with no arguments at all, which is different from the upstream recommendation. Users are intended to run it with an appropriate compatibility-level flag matching the installed rsyslog.conf, as the default (with no flags) is to be strictly compatible with sysklogd syntax. rsyslogd complains when started this way:

2011-01-26T17:06:41.054093-05:00 akherou rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c4 as the first rsyslogd option.
2011-01-26T17:06:41.056516-05:00 akherou rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
2011-01-26T17:06:41.056546-05:00 akherou rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
2011-01-26T17:06:41.056557-05:00 akherou rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock

To improve matters, I've implemented the use of an /etc/conf.d/rsyslog file to provide a place for users to set the arguments they want. By default it uses "-c4" as per the warning above. A patch against the PKGBUILD and other included source files is attached.

This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 27 January 2011, 15:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanks

Loading...