diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-12 23:23:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 23:23:16 +0200 |
commit | acae04aaaf1235ee2e2475d97155783dc4aefc9f (patch) | |
tree | 03cda657e516d5fea7d6fba66dfca91588fbb95f /libpod | |
parent | 4ef4f522f9a2850e14a93186c647175685166d95 (diff) | |
parent | 7b3cf0c085361546f45cf86391eb9809229d0ca1 (diff) | |
download | podman-acae04aaaf1235ee2e2475d97155783dc4aefc9f.tar.gz podman-acae04aaaf1235ee2e2475d97155783dc4aefc9f.tar.bz2 podman-acae04aaaf1235ee2e2475d97155783dc4aefc9f.zip |
Merge pull request #7306 from mheon/private_mount
Change /sys/fs/cgroup/systemd mount to rprivate
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_internal_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index e2bc4e50f..fdee3877c 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -626,7 +626,7 @@ func (c *Container) setupSystemd(mounts []spec.Mount, g generate.Generator) erro Destination: "/sys/fs/cgroup/systemd", Type: "bind", Source: "/sys/fs/cgroup/systemd", - Options: []string{"bind", "nodev", "noexec", "nosuid", "rslave"}, + Options: []string{"bind", "nodev", "noexec", "nosuid", "rprivate"}, } g.AddMount(systemdMnt) g.AddLinuxMaskedPaths("/sys/fs/cgroup/systemd/release_agent") |