diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-06-11 07:54:53 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-06-11 07:54:55 -0400 |
commit | 805d1d96fa69cf376f619bf57345f36124c43464 (patch) | |
tree | 08488e48dc475bec648227afcfb2e93aa6924a68 /libpod/container_internal_linux.go | |
parent | c93b8d6b02c7ec0c91af34481133001421b9628d (diff) | |
download | podman-805d1d96fa69cf376f619bf57345f36124c43464.tar.gz podman-805d1d96fa69cf376f619bf57345f36124c43464.tar.bz2 podman-805d1d96fa69cf376f619bf57345f36124c43464.zip |
Accidently removed /run/lock from systemd mounts
This is blowing up systemd containers on Ubuntu.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
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 4acc77afa..a88b0a6d5 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 } |