Bug#566626: linux-image-2.6.32-trunk-amd64: updating a kernel should start re-building DKMS modules

2010-01-24 Thread Wolfgang Schnitker
Package: linux-2.6
Version: 2.6.32-5
Severity: normal

Hello, I am using virtualbox-ose on my machine, therefore I have to build the 
vbox module every time, a kernel update comes up.

Because DKMS is early loaded at system startup and after update no Module is 
present, booting slowes down until module loading stops with an error.

In my opinion kernel-image should trigger a rebuild od DKMS modules against 
newly installed kernel.

-- Package-specific info:
** Version:
Linux version 2.6.32-trunk-amd64 (Debian 2.6.32-5) (b...@decadent.org.uk) (gcc 
version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Sun Jan 10 22:40:40 UTC 2010

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.32-trunk-amd64 
root=UUID=6d5e0a18-9f91-417e-8420-e84426331857 ro quiet selinux=1

** Not tainted

** Kernel log:
[ 2090.211950] __ratelimit: 30 callbacks suppressed
[ 2090.211958] type=1400 audit(1264324713.232:181): avc:  denied  { getattr } 
for  pid=3451 comm=udevd path=/var/run/ConsoleKit/database dev=sda1 
ino=3670163 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=file
[ 2090.324104] type=1400 audit(1264324713.342:182): avc:  denied  { read } for  
pid=5761 comm=udev-acl name=database dev=sda1 ino=3670163 
scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=file
[ 2090.324223] type=1400 audit(1264324713.342:183): avc:  denied  { open } for  
pid=5761 comm=udev-acl name=database dev=sda1 ino=3670163 
scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=file
[ 2399.625382] type=1400 audit(1264325022.645:184): avc:  denied  { getattr } 
for  pid=5810 comm=udev-acl.ck path=/dev/.udev/db/serio:serio0 dev=tmpfs 
ino=4178 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:udev_tbl_t:s0 tclass=file
[ 2399.625512] type=1400 audit(1264325022.645:185): avc:  denied  { read } for  
pid=5810 comm=udev-acl.ck name=serio:serio0 dev=tmpfs ino=4178 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:udev_tbl_t:s0 tclass=file
[ 2399.625627] type=1400 audit(1264325022.645:186): avc:  denied  { open } for  
pid=5810 comm=udev-acl.ck name=serio:serio0 dev=tmpfs ino=4178 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:udev_tbl_t:s0 tclass=file
[ 2399.660099] type=1400 audit(1264325022.677:187): avc:  denied  { getattr } 
for  pid=5810 comm=udev-acl.ck name=002 dev=tmpfs ino=2003 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:usb_device_t:s0 tclass=chr_file
[ 2399.660344] type=1400 audit(1264325022.681:188): avc:  denied  { setattr } 
for  pid=5810 comm=udev-acl.ck name=002 dev=tmpfs ino=2003 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:usb_device_t:s0 tclass=chr_file
[ 2399.660656] type=1400 audit(1264325022.681:189): avc:  denied  { getattr } 
for  pid=5810 comm=udev-acl.ck name=adsp dev=tmpfs ino=5976 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:sound_device_t:s0 tclass=chr_file
[ 2399.660785] type=1400 audit(1264325022.681:190): avc:  denied  { setattr } 
for  pid=5810 comm=udev-acl.ck name=adsp dev=tmpfs ino=5976 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:sound_device_t:s0 tclass=chr_file
[ 2399.662728] type=1400 audit(1264325022.681:191): avc:  denied  { getattr } 
for  pid=5810 comm=udev-acl.ck name=sr0 dev=tmpfs ino=1864 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:removable_device_t:s0 tclass=blk_file
[ 2399.662856] type=1400 audit(1264325022.681:192): avc:  denied  { setattr } 
for  pid=5810 comm=udev-acl.ck name=sr0 dev=tmpfs ino=1864 
scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:removable_device_t:s0 tclass=blk_file
[ 2402.008768] type=1400 audit(1264325025.029:193): avc:  denied  { 
execute_no_trans } for  pid=5922 comm=dbus-daemon 
path=/usr/lib/dbus-1.0/dbus-daemon-launch-helper dev=sda1 ino=6709256 
scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:lib_t:s0 tclass=file
[ 2408.897470] __ratelimit: 225 callbacks suppressed
[ 2408.897479] type=1400 audit(1264325031.918:269): avc:  denied  { 
execute_no_trans } for  pid=6034 comm=dbus-daemon 
path=/usr/lib/dbus-1.0/dbus-daemon-launch-helper dev=sda1 ino=6709256 
scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:lib_t:s0 tclass=file
[ 2408.938348] type=1400 audit(1264325031.957:270): avc:  denied  { create } 
for  pid=6034 comm=devkit-disks-da 
scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 
tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 
tclass=netlink_kobject_uevent_socket
[ 2408.938605] type=1400 audit(1264325031.957:271): avc:  denied  { setopt } 
for  pid=6034 comm=devkit-disks-da 

Bug#566626: linux-image-2.6.32-trunk-amd64: updating a kernel should start re-building DKMS modules

2010-01-24 Thread Ben Hutchings
On Sun, 2010-01-24 at 10:37 +0100, Wolfgang Schnitker wrote:
 Package: linux-2.6
 Version: 2.6.32-5
 Severity: normal
 
 Hello, I am using virtualbox-ose on my machine, therefore I have to
 build the vbox module every time, a kernel update comes up.
 
 Because DKMS is early loaded at system startup and after update no
 Module is present, booting slowes down until module loading stops with
 an error.
 
 In my opinion kernel-image should trigger a rebuild od DKMS modules
 against newly installed kernel.
[...]

DKMS installs a script in /etc/kernel/postinst.d which will be called by
the kernel package installation script.  This will rebuild modules as
necessary.  However, packages using DKMS have to opt in to this
automatic rebuild (AUTOINSTALL=yes), and it seems that virtualbox-ose
does not.

Ben.

-- 
Ben Hutchings
Any smoothly functioning technology is indistinguishable from a rigged demo.


signature.asc
Description: This is a digitally signed message part