Comment 9 for bug 407862

Revision history for this message
Neil Wilson (neil-aldur) wrote : Re: [karmic] Messages not being sent to system logs

Ok problem#1 sorted. The new rsyslog system is starting up dd without the correct blocksize indicator and that is causing everything to hang up.

The new rsyslog init.d file uses

  # shovel /proc/kmsg to pipe readable by syslog user
  start-stop-daemon --start --pidfile $KMSG_PIDFILE --exec /bin/dd -b -m -- if=/proc/kmsg of=$KMSG_PIPE

The old klogd init.d file uses

  # shovel /proc/kmsg to pipe readable by klogd user
  start-stop-daemon --start --pidfile $kmsgpidfile --exec /bin/dd -b -m -- bs=1 if=/proc/kmsg of=$kmsgpipe

Adding 'bs=1' to the rsyslog init.d file cures the lack of kernel logging. Patch attached which also implements HUP based reload for this daemon.