Can't get mount namespaces to behave as expected
Can't get mount namespaces to behave as expected
Posted Mar 7, 2015 7:53 UTC (Sat) by apollock (guest, #14629)In reply to: Can't get mount namespaces to behave as expected by mkerrisk
Parent article: Namespaces in operation, part 4: more on PID namespaces
Because /proc was still getting clobbered outside of my namespace without it when I mounted it inside my namespace.
I was basically testing two scenarios:
1) Unmounting a filesystem that was mounted inside and outside the new namespace. Expected behaviour: it was only unmounted inside the new namespace
2) Mounting /proc inside the new namespace. Expected behaviour: only seeing the process entries for processes inside the new namespace inside the namespace, and there being no impact outside this namespace