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#53077 - [syslog-ng] start impossible due to outdated configuration

Attached to Project: Arch Linux
Opened by Julien (ganymede) - Friday, 24 February 2017, 20:55 GMT
Last edited by Antonio Rojas (arojas) - Friday, 24 February 2017, 21:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
syslog-ng.service refuses to start since my last update.
The problem comes from the configuration files embedded with the package, which seem to be outdated.

Additional info:
* package version(s)
extra/syslog-ng 3.9.1-2
* config and/or log files etc.
I didn't make any change on the files installed by default with the package.

Steps to reproduce:
You just have to check the configuration file's syntax with :
# syslog-ng -s
syslog-ng: Error setting capabilities, capability management disabled; error='Operation not permitted'
[2017-02-24T21:42:46.928862] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode Please update it to use the syslog-ng 3.9 format at your time of convenience, compatibility mode can operate less efficiently in some cases. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.;
Error parsing config, Error compiling template (Unknown template function "format-json") in /usr/share/syslog-ng/syslog-ng/include/scl/cim/template.conf at line 23, column 32:
included from /etc/syslog-ng/scl.conf line 29, column 1
included from /etc/syslog-ng/syslog-ng.conf line 3, column 1

template-function "format-cim" "$(format-json --pair @timestamp='${R_ISODATE}' --pair @message='${MSG}' --key .cim.* --shift 5 --key _* --key .* --replace-prefix .=_ --key *.*)\n";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 24 February 2017, 21:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  syslog-ng 3.9.1-4

Loading...