pkgsel calls update-initramfs without proper chroot

Bug #1033681 reported by Brandon Gilmore
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkgsel (Ubuntu)
New
Undecided
Unassigned

Bug Description

Affects: pkgsel-0.35ubuntu2
Description: Ubuntu 12.04 LTS
Release: 12.04

pkgsel's postinst attempts to invoke update-initramfs inside a /target chroot during the system install process. That chroot gets bind mounts for /dev, /sys, and /proc, but it is notably missing a bind mount for /run. Some of the initramfs-tools update hooks depend on the presence of a proper /run filesystem and break badly when it is missing. In our configuration, the cryptsetup hook fails to scan for encrypted volumes which renders the initrd unable to boot hosts with an encrypted root filesystem.

pkgsel should probably be using in-target for this step in lieu of doing its own chroot logic.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.