diff options
author | Matthew Heon <mheon@redhat.com> | 2020-08-12 09:15:02 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-08-20 12:16:52 -0400 |
commit | c14b6c366288c875155d8bbb33c322843b438741 (patch) | |
tree | a43f3fc14325987b8a6570df9273d292c5a9d5cd /libpod | |
parent | 34f4a892e4056dd660db85db6ee8baa0470dd6f2 (diff) | |
download | podman-c14b6c366288c875155d8bbb33c322843b438741.tar.gz podman-c14b6c366288c875155d8bbb33c322843b438741.tar.bz2 podman-c14b6c366288c875155d8bbb33c322843b438741.zip |
Change /sys/fs/cgroup/systemd mount to rprivate
I used the wrong propagation first time around because I forgot
that rprivate is the default propagation. Oops. Switch to
rprivate so we're using the default.
Signed-off-by: Matthew Heon <mheon@redhat.com>
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 d72e3ad47..b9e4f9a93 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -575,7 +575,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"}, + Options: []string{"bind", "nodev", "noexec", "nosuid", "rprivate"}, } g.AddMount(systemdMnt) g.AddLinuxMaskedPaths("/sys/fs/cgroup/systemd/release_agent") |