** Branch linked: lp:ubuntu/precise-proposed/rsyslog ** Branch linked: lp:ubuntu/trusty-proposed/rsyslog
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1274444 Title: echo string to /dev/kmsg fails to appear on /var/log/syslog Status in “linux” package in Ubuntu: Invalid Status in “rsyslog” package in Ubuntu: Fix Released Status in “rsyslog” source package in Precise: Fix Committed Status in “rsyslog” source package in Trusty: Fix Committed Bug description: [Impact] In the precise 3.2 series kernel writing strings to /dev/kmsg appears and dmesg and /var/log/syslog, in 3.5 series kernel this does not happen properly even with the equivalent userspace packages. This is because the default facility number in the kernel has changed from 0 to 1 for user-space generated kmsg entries. Because of this; rsyslog (or any affected sysloggers) need to accept non-kernel facility numbers. This change was introduced by this commit (in the linux kernel): 7ff9554bb578ba02166071d2d487b7fc7d860d62 [Test Case] Run the following script as root: #!/bin/bash STRING=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 32) # > /var/log/syslog # this isn't necessary echo $STRING > /dev/kmsg sleep 5 grep $STRING /var/log/syslog # This should return 0. [Regression Potential] Any scripts that rely on syslog output may finally see output produced by packages like init/systemd show up in syslog. This changes the default rsyslog.conf file settings but isn't a code change. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1274444/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp