Arch Linux

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#38382 - [syslog-ng] default config should use system() and /dev/kmsg

Attached to Project: Arch Linux
Opened by Mantas Mikulėnas (grawity) - Saturday, 04 January 2014, 18:14 GMT
Last edited by Eric Belanger (Snowman) - Monday, 20 January 2014, 13:38 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently syslog-ng's config lists all sources explicitly. It should use system() and internal() instead, to be closer to the upstream default.

system() also adapts better to the running system – it automatically chooses between the journald socket and /dev/log depending on whether systemd is running (in case the user uses runit or other junk), and automatically uses /dev/kmsg if the kernel supports it over /proc/kmsg.

For this, scl.conf needs to be @include'd.

@version: 3.5
@include "scl.conf"
source s_local { system(); internal(); };

The upstream default is documented at: http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.5-guides/en/syslog-ng-ose-v3.5-guide-admin/html/chapter-quickstart.html

system() is documented at:
http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.5-guides/en/syslog-ng-ose-v3.5-guide-admin/html/configuring-source-system.html
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 20 January 2014, 13:38 GMT
Reason for closing:  Implemented
Additional comments about closing:  syslog-ng-3.5.3-1

Loading...