I think this patch would do it:

--- /etc/init.d/bootmisc.sh.orig        2008-11-05 08:44:52.000000000 +0100
+++ /etc/init.d/bootmisc.sh     2009-01-24 18:29:10.000000000 +0100
@@ -47,16 +47,14 @@ do_start () {
        # Save kernel messages in /var/log/dmesg
        if which dmesg >/dev/null 2>&1
        then
-               savelog -q -p -c 5 /var/log/dmesg
+               savelog -q -p -c 5 -n -t -g adm /var/log/dmesg
                dmesg -s 524288 > /var/log/dmesg
-               chgrp adm /var/log/dmesg || :
        elif [ -c /dev/klog ]
        then
-               savelog -q -p -c 5 /var/log/dmesg
+               savelog -q -p -c 5 -n -t -g adm /var/log/dmesg
                dd if=/dev/klog of=/var/log/dmesg &
                sleep 1
                kill $!
-               [ -f /var/log/dmesg ] && { chgrp adm /var/log/dmesg || : ; }
        fi
 
        #

-- 
bootmisc.sh assumes /var/log/dmesg exists
https://bugs.launchpad.net/bugs/290429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to