mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-06 07:44:46 +00:00
Util-linux 2.33 fixed mount --rbind --make-rslave which did not pass MS_REC with MS_BIND and livecd-rootfs did only --bind --make-rslave effectively with prior mount versions. While mount --rbind --rslave are properly passed the flags to mount() unmounting did not work cleanly with --make-rslave. To clearly stop propagation of umount, --make-private is used instead of --make-rslave and it is always set before umounts. Umount -R is replaced with a simple umount since submounts are tore down in teardown_mountpoint() earlier. LP: #1813730