mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-02 21:57:52 +00:00
Merge pull request #4345 from giuseppe/mask-release_agent
systemd: mask /sys/fs/cgroup/systemd/release_agent
This commit is contained in:
commit
ea46937675
1 changed files with 1 additions and 0 deletions
|
|
@ -550,6 +550,7 @@ func (c *Container) setupSystemd(mounts []spec.Mount, g generate.Generator) erro
|
|||
Options: []string{"bind", "nodev", "noexec", "nosuid"},
|
||||
}
|
||||
g.AddMount(systemdMnt)
|
||||
g.AddLinuxMaskedPaths("/sys/fs/cgroup/systemd/release_agent")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue