diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-17 21:26:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-17 21:26:33 +0200 |
commit | bce4a93575234a99e5e252482a0c15690b13e91a (patch) | |
tree | f3d69115828db1914a63528e73c2a8d2c8737f10 /libpod/container_internal_linux.go | |
parent | 7d0e77de94982bcfcc421e7252ffc73b1616cb13 (diff) | |
parent | 805d1d96fa69cf376f619bf57345f36124c43464 (diff) | |
download | podman-bce4a93575234a99e5e252482a0c15690b13e91a.tar.gz podman-bce4a93575234a99e5e252482a0c15690b13e91a.tar.bz2 podman-bce4a93575234a99e5e252482a0c15690b13e91a.zip |
Merge pull request #3297 from rhatdan/systemd
Accidently removed /run/lock from systemd mounts
Diffstat (limited to 'libpod/container_internal_linux.go')
-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 0be5427d9..55cc5089b 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -424,7 +424,7 @@ func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) { // It also expects to be able to write to /sys/fs/cgroup/systemd and /var/log/journal func (c *Container) setupSystemd(mounts []spec.Mount, g generate.Generator) error { options := []string{"rw", "rprivate", "noexec", "nosuid", "nodev"} - for _, dest := range []string{"/run"} { + for _, dest := range []string{"/run", "/run/lock"} { if MountExists(mounts, dest) { continue } |