/dev not mounted inside chroot

Bug #1842305 reported by Egil Moeller on 2019-09-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-initramfs-tools
Undecided
Unassigned

Bug Description

The list of filesystems bind-mounted from the outside at https://git.launchpad.net/cloud-initramfs-tools/tree/overlayroot/usr/sbin/overlayroot-chroot#n72 should include /dev so that installing apt-packages that touches /users device files (null, zero, ttyX) in their postinstall scripts works, as well as just plain apt-get update.

Example failure:

gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <email address hidden>"
/usr/bin/apt-key: 624: /usr/bin/apt-key: cannot create /dev/null: Permission denied

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

Other bug subscribers