mirror of https://github.com/containers/podman.git
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>
This commit is contained in:
parent
8eaacec150
commit
7b3cf0c085
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue