X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=newns;h=713c29de8cd7945314d7f9e009a6cbe364e6b0e2;hb=8d1e271a9757b6c405860effff82e9e28bd89827;hp=76c7adf53c6aa4b623572eeb3cb07227f7cfbecb;hpb=b9cf4000a50a83b7f757212030e18b00104ab01f;p=newns diff --git a/newns b/newns index 76c7adf..713c29d 100755 --- a/newns +++ b/newns @@ -38,7 +38,9 @@ fi usage() { cat </dev/null; then mount --bind /root/mount_namespaces /root/mount_namespaces - mount --make-private /root/mount_namespaces fi + # note: This is outside the mount condition because I've mysteriously + # had this become shared instead of private, perhaps it + # got remounted somehow and lost the setting. + mount --make-private /root/mount_namespaces if [[ ! -e /root/mount_namespaces/$nn ]]; then touch /root/mount_namespaces/$nn fi