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: #1813730sil2100/core18-pi3-arm64
parent
a06d208871
commit
33c5ad0b19
Loading…
Reference in new issue