[Bug 805309] New: syslog-ng: NetworkManager entries in /var/log/messages instead of /var/log/NetworkManager
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c0 Summary: syslog-ng: NetworkManager entries in /var/log/messages instead of /var/log/NetworkManager Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- 12.3-RC1 plus updates: in /var/log/NetworkManager the last entries are from Feb. 14, newer entries only show up in /var/log/messages: # tail -1 /var/log/NetworkManager Feb 14 10:02:55 hl NetworkManager[1168]: <info> wins '10.0.5.18' # xzgrep -h NetworkManager /var/log/messages{*xz,} | cut -d: -f2 | cut -d\ -f-2 | uniq -c 2671 Jan 21 869 Jan 22 1050 Jan 23 3485 Jan 24 8 Feb 2083 Feb 19 485 Feb 20 2800 Feb 21 441 Feb 22 # egrep -i 'network|netmgm' /etc/syslog-ng/syslog-ng.conf # uncomment to process log messages from network: filter f_netmgm { message('^NetworkManager:'); }; # NetworkManager messages in one file: destination netmgm { file("/var/log/NetworkManager" suppress(30)); }; log { source(src); source(chroots); filter(f_netmgm); destination(netmgm); flags(final); }; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c1 --- Comment #1 from Marius Tomaschewski <mt@suse.com> 2013-03-04 17:32:32 UTC --- Created an attachment (id=528006) --> (http://bugzilla.novell.com/attachment.cgi?id=528006) Patch for syslog-ng.conf.default -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c2 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@suse.com AssignedTo|mt@suse.com |pczanik@genesi-usa.com --- Comment #2 from Marius Tomaschewski <mt@suse.com> 2013-03-04 17:43:32 UTC --- Peter, the config were using message() instead of program() -- there were a reason, but I don't remember why any more... some workaround I guess. Since the messages contain a timestamp when syslog-ng receives them from systemd, this does not work any more --> should be fixed above. But the current version seems to have a problem with flags(final); that is when I fix the filter, it AFAIS logs to both log files, that is also to the messages file. Can you take a look at this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c3 --- Comment #3 from peter czanik <pczanik@genesi-usa.com> 2013-03-04 18:19:39 UTC --- I'll check the config tomorrow. flags(final): a related patch (or series) entered git a few days ago: https://github.com/balabit/syslog-ng-3.4/commits/master I have to ask, if one can cherry pick the last patch from git, or it builds on previous patches. So, also tomorrow. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-07 11:00:07 CET --- This is an autogenerated message for OBS integration: This bug (805309) was mentioned in https://build.opensuse.org/request/show/157615 Factory / syslog-ng -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c5 peter czanik <pczanik@genesi-usa.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #5 from peter czanik <pczanik@genesi-usa.com> 2013-06-25 02:17:51 UTC --- 3.4.2, which contains the fix, is submitted to factory and as a maintenance update for 12.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=805309 https://bugzilla.novell.com/show_bug.cgi?id=805309#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> 2013-07-02 12:04:18 UTC --- openSUSE-RU-2013:1123-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 805309,815746 CVE References: Sources used: openSUSE 12.3 (src): syslog-ng-3.4.2-1.5.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com