Output when NOT running on LXC (a linode machine in this case): (...) Preparing to replace grub-pc 1.99-21ubuntu3.7 (using .../grub-pc_1.99-21ubuntu3.8_i386.deb) ... Unpacking replacement grub-pc ... Preparing to replace grub-pc-bin 1.99-21ubuntu3.7 (using .../grub-pc-bin_1.99-21ubuntu3.8_i386.deb) ... Unpacking replacement grub-pc-bin ... Preparing to replace grub2-common 1.99-21ubuntu3.7 (using .../grub2-common_1.99-21ubuntu3.8_i386.deb) ... Unpacking replacement grub2-common ... Preparing to replace grub-common 1.99-21ubuntu3.7 (using .../grub-common_1.99-21ubuntu3.8_i386.deb) ... Unpacking replacement grub-common ... Processing triggers for man-db ... Processing triggers for install-info ... Processing triggers for ureadahead ... Setting up grub-common (1.99-21ubuntu3.8) ... Setting up grub2-common (1.99-21ubuntu3.8) ... Setting up grub-pc-bin (1.99-21ubuntu3.8) ... Setting up grub-pc (1.99-21ubuntu3.8) ... Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-36-virtual Found initrd image: /boot/initrd.img-3.2.0-36-virtual Found linux image: /boot/vmlinuz-3.2.0-35-virtual Found initrd image: /boot/initrd.img-3.2.0-35-virtual done root@ls3-precise:~# echo $? 0 root@ls3-precise:~# which running-in-container /bin/running-in-container root@ls3-precise:~# running-in-container root@ls3-precise:~# echo $? 1 root@ls3-precise:~#
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060404 Title: update-grub runs and fails in containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1060404/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs