Merge lp:~rbalint/livecd-rootfs/mount-make-rslave

ubuntu/artful
Steve Langasek 7 years ago
commit 12b1a5de4d

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.460) UNRELEASED; urgency=medium
[ Balint Reczey ]
* Mount using --make-rslave to ensure safe unmounts for rbind mounts
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 26 Sep 2017 00:59:08 -0400
livecd-rootfs (2.459) artful; urgency=medium
[ Steve Langasek ]

@ -79,7 +79,7 @@ mount_image() {
setup_mountpoint() {
local mountpoint="$1"
mount --rbind /dev "$mountpoint/dev"
mount --rbind --make-rslave /dev "$mountpoint/dev"
mount proc-live -t proc "$mountpoint/proc"
mount sysfs-live -t sysfs "$mountpoint/sys"
mount -t tmpfs none "$mountpoint/tmp"

Loading…
Cancel
Save