Control: clone -1 -2 Control: reassign -2 debianutils Control: retitle -2 installkernel: Should only run scripts if install dir is /boot Control: severity -1 minor
On Sun, 09 Nov 2014 21:37:14 -0800 Rob Leslie <r...@mars.org> wrote: > Package: initramfs-tools > Version: 0.109.1 > Severity: normal > File: /etc/kernel/postinst.d/initramfs-tools > > The script /etc/kernel/postinst.d/initramfs-tools checks for the existence > of /usr/sbin/update-initramfs using an absolute path, but later invokes it > without any path. Among other possible dangers, this causes problems when > /usr/sbin is not in one's PATH. > > I discovered this when trying to build a kernel with kernel-package, > fakeroot, and zsh (which by default does not include /usr/sbin in PATH for > ordinary users). [...] I acknowledge that the script should be made consistent, but it's not a practical issue normally. It looks like you're seeing a bug in the /sbin/installkernel script (which is also my fault): running 'make install' as non-root, to a directory other than /boot, still ends up running the post-installation scripts. Ben. -- Ben Hutchings Quantity is no substitute for quality, but it's the only one we've got.
signature.asc
Description: This is a digitally signed message part