To have this automatically happen with each new kernel, create /etc/kernel/postinst.d/statoverride:
#!/bin/sh
version="$1"
# passing the kernel version is required
[ -z "${version}" ] && exit 0
dpkg-statoverride --add root root 0644 /boot/vmlinux-${version} --update
...can libguestfs package ship that script? Or would that be a policy violation of some sort?
It looks like if upon installation short script could be placed in /etc/kernel/postinst.d/statoverride, along with a "chmod 0644 /boot/vmlinuz*", then all those annoying bugreports from ubuntu users should go away.
Hilko, you probably know this but it looks like in the original thread here:
https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/759725
...that this could be fixed thusly:
To have this automatically happen with each new kernel, create /etc/kernel/ postinst. d/statoverride:
#!/bin/sh ${version} --update
version="$1"
# passing the kernel version is required
[ -z "${version}" ] && exit 0
dpkg-statoverride --add root root 0644 /boot/vmlinux-
...can libguestfs package ship that script? Or would that be a policy violation of some sort?
It looks like if upon installation short script could be placed in /etc/kernel/ postinst. d/statoverride, along with a "chmod 0644 /boot/vmlinuz*", then all those annoying bugreports from ubuntu users should go away.