[Bug 1033681] [NEW] pkgsel calls update-initramfs without proper chroot
Brandon Gilmore
1033681 at bugs.launchpad.net
Mon Aug 6 21:44:26 UTC 2012
Public bug reported:
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.
** Affects: pkgsel (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgsel in Ubuntu.
https://bugs.launchpad.net/bugs/1033681
Title:
pkgsel calls update-initramfs without proper chroot
Status in “pkgsel” package in Ubuntu:
New
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgsel/+bug/1033681/+subscriptions
More information about the foundations-bugs
mailing list