[Bug 245] New: syslog-ng 3.4.3 / 3.4.2 add bogus characters to /var/log/ messages
https://bugzilla.balabit.com/show_bug.cgi?id=245 Summary: syslog-ng 3.4.3 / 3.4.2 add bogus characters to /var/log/messages Product: syslog-ng Version: 3.4.x Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: himbeere@meine-oma.de Type of the Report: bug Estimated Hours: 0.0 Hello. Suddenly my syslog-ng adds bogus characters to /var/log/messages like this: Aug 16 21:40:56 hn2 syslog-ng[2009]: syslog-ng shutting down; version='3.4.2' Aug 16 21:41:44 hn2 syslog-ng[1994]: syslog-ng starting up; version='3.4.3' Aug 16 21:41:44 hn2 syslog-ng[1994]: Internal error, alarm_set() called while an alarm is still active; Aug 16 21:41:44 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ kernel: [ 0.000000] Initializing cgroup subsys cpuset Aug 16 21:41:44 hn2 kernel: [ 0.000000] Initializing cgroup subsys cpu Aug 16 21:41:44 hn2 kernel: [ 0.000000] Initializing cgroup subsys cpuacct Aug 16 21:41:44 hn2 kernel: [ 0.000000] Linux version 3.10.7 (root@hn2) (gcc version 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2) ) #2 SMP Fri Aug 16 21:17:31 CEST 2013 This leads to an unreadable file. Well i can open the file with vi and then it looks okay. But with less it looks like this: 00000000 41 75 67 20 31 36 20 32 31 3a 32 37 3a 34 36 20 |Aug 16 21:27:46 | 00000010 68 6e 32 20 73 79 73 6c 6f 67 2d 6e 67 5b 32 38 |hn2 syslog-ng[28| 00000020 38 31 5d 3a 20 73 79 73 6c 6f 67 2d 6e 67 20 73 |81]: syslog-ng s| 00000030 74 61 72 74 69 6e 67 20 75 70 3b 20 76 65 72 73 |tarting up; vers| 00000040 69 6f 6e 3d 27 33 2e 34 2e 32 27 0a 41 75 67 20 |ion='3.4.2'.Aug | 00000050 31 36 20 32 31 3a 32 38 3a 30 33 20 68 6e 32 20 |16 21:28:03 hn2 | 00000060 73 68 75 74 64 6f 77 6e 5b 32 38 39 35 5d 3a 20 |shutdown[2895]: | 00000070 73 68 75 74 74 69 6e 67 20 64 6f 77 6e 20 66 6f |shutting down fo| 00000080 72 20 73 79 73 74 65 6d 20 72 65 62 6f 6f 74 0a |r system reboot.| 00000090 41 75 67 20 31 36 20 32 31 3a 32 38 3a 30 33 20 |Aug 16 21:28:03 | 000000a0 68 6e 32 20 69 6e 69 74 3a 20 53 77 69 74 63 68 |hn2 init: Switch| 000000b0 69 6e 67 20 74 6f 20 72 75 6e 6c 65 76 65 6c 3a |ing to runlevel:| 000000c0 20 36 0a 41 75 67 20 31 36 20 32 31 3a 32 38 3a | 6.Aug 16 21:28:| Is there any solution to this? Thanks and best regards t. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=245 --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2013-08-17 07:22:16 --- I have seen this already, and is related to /dev/kmsg support. algernon was looking into the issue but I can't remember a solution and he is on debconf2013 as a workaround can you change back to reading /proc/kmsg instead of /Dev/kmsg? if you are using the system source you'd have to disable that and explicitly add /Dev/log and /prox/kmsg -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=245 --- Comment #2 from Thomas Stein <himbeere@meine-oma.de> 2013-08-17 20:06:42 --- Hello. So you aware of this messages?
syslog-ng[1994]: Internal error, alarm_set() called while an alarm is still active;
Uh and i can wait for the final solution. Just wanted to be sure it will be fixed in some of the future releases. thanks t. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla@bugzilla.balabit.com