The verification of the Stable Release Update for rsyslog has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsyslog 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 Released
Status in “rsyslog” source package in Trusty:
  Fix Released

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/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to