Comment 5 for bug 1279658

Revision history for this message
Martin Pitt (pitti) wrote :

This already happens in quantal proper, in the pristine container:

$ sudo /etc/kernel/postinst.d/zz-update-grub 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic
/usr/sbin/grub-probe: error: failed to get canonical path of none.

The installed version of /etc/kernel/postinst.d/zz-update-grub does not have the running-in-container check, unlike the one I get in precise and trusty:

$ dpkg -S /etc/kernel/postinst.d/zz-update-grub
grub-pc: /etc/kernel/postinst.d/zz-update-grub

grub-pc is version 2.00-7ubuntu11. I see that the container check was added in a precise SRU in bug 1060404, so this is really a duplicate of that bug.