You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syslog-ng 3 (3.21.1)
Config version: 3.21
Installer-Version: 3.21.1
Revision:
Compile-Date: May 13 2019 13:36:58
Module-Directory: //usr/lib64/syslog-ng
Module-Path: //usr/lib64/syslog-ng
Include-Path: /usr/share/syslog-ng/include
Available-Modules: kvformat,cef,json-plugin,syslogformat,tfgetent,map-value-pairs,afprog,afamqp,basicfuncs,xml,appmodel,csvparser,afstomp,afsocket,sdjournal,disk-buffer,hook-commands,system-source,linux-kmsg-format,snmptrapd-parser,dbparser,cryptofuncs,confgen,stardate,examples,afuser,pseudofile,date,graphite,http,add-contextual-data,affile,tags-parser
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: on
Enable-Spoof-Source: on
Enable-TCP-Wrapper: on
Enable-Linux-Caps: on
Enable-Systemd: on
Platform
Centos 7 x86_64
Issue
Failure
Error parsing pattern database file; filename='/tmp/m.xml', error='/tmp/m.xml:18:23: Joining rulesets with mismatching program name sets, program=A'
I checked the code, and if I understand right, patterndb is not prepared to handle multiple rulesets with multiple program patterns in each, which have collision between different rulesets.
However, I think it should...
I will write a failing unit test for this scenario, so we can start working on refactoring and fixing this.
@alltilla@MrAnno Getting similar issue in syslog-ng-3.25.1 version.The same default.xml file was parsing correctly in version syslog-ng-3.6.2 and syslog-ng-3.7.1
2020-02-13T10:47:29.631090] Error parsing pattern database file; filename='/home/nsaboo/abc/default.xml', error='/home/nsaboo/abc/default.xml:17274:22: Joining rulesets with mismatching program name sets, program=proxysg'.
Why getting this issue in syslog-ng-3.25.1 and not in syslog-ng-3.6.2 and syslog-ng-3.7.1 ?When can we expect the fix for this ? Do we have any workaround for this ?
syslog-ng
Version of syslog-ng
Platform
Centos 7 x86_64
Issue
Failure
Configuration
(or gist URL)
PatternDB configuration
Note
Inverting the order of
A
andB
in the second ruleset makes the error message go away, and syslog-ng loads the patterndb.The text was updated successfully, but these errors were encountered: