← Back to team overview

kernel-packages team mailing list archive

[Bug 1274444] Re: echo string to /dev/kmsg fails to appear on /var/log/syslog

 

Attaching a patch here for utopic. I know there is a pending merge, so
perhaps this can be applied on top of that merge.

** Changed in: linux (Ubuntu)
       Status: In Progress => Invalid

** Changed in: rsyslog (Ubuntu)
     Assignee: (unassigned) => Chris J Arges (arges)

** Changed in: linux (Ubuntu)
     Assignee: Chris J Arges (arges) => (unassigned)

** Changed in: rsyslog (Ubuntu)
   Importance: Undecided => Medium

** Changed in: rsyslog (Ubuntu)
       Status: New => In Progress

** Patch added: "fix-lp1274444.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1274444/+attachment/4143416/+files/fix-lp1274444.debdiff

-- 
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:
  In Progress

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.

  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
  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.

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


References