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
{{ message }}
Repository navigation
patterndb fails to merge two rulesets with program overlap #2763
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 ?
Activity
faxm0dem commentedon Jun 20, 2019
Hi, do you need any more information concerning this issue?
alltilla commentedon Jun 25, 2019
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.
nitishsaboo commentedon Feb 13, 2020
@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 ?