After doing a bisect, I found the first bad commit is:
7ff9554bb578ba02166071d2d487b7fc7d860d62

** Description changed:

  [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.
  
  I've already done a coarse bisect,
  works v3.4
  fails in v3.5-rc1
  
  [Test Case]
+ Run the following script as root:
+ 
  #!/bin/bash
- echo 'blah' > /dev/kmsg
- tail -n1 /var/log/syslog | grep blah
+ STRING=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 32)
+ > /var/log/syslog
+ echo $STRING > /dev/kmsg
+ sleep 5
+ grep $STRING /var/log/syslog
  # This should return 0.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1274444

Title:
  echo string to /dev/kmsg fails to appear on /var/log/syslog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1274444/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to