Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnetwork/rootlessnetns: make mountns tree private
While this is a none issue normally because we run in a unprivileged userns we cannot modify the host mounts in any way. However in case where the rootless netns logic might be executed from a non userns context we might change the mount tree if the mounts are shared which is the systemd default. While this should never happen let's make sure we never mess up the system by accident in case there are more bugs and explicitly make our mount tree private. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information