summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-29 02:38:14 -0700
committerGitHub <noreply@github.com>2019-04-29 02:38:14 -0700
commite0312334cca5d8f5adf9844100f15317a86068d4 (patch)
tree2ae5e969ada5731b8379f94e21a447d0170486d2 /libpod
parentfe3acddcbe02cfa258170707791bd096dc909022 (diff)
parent3a4be4b66ca22d87446c37218b300b8f31a84b92 (diff)
downloadpodman-e0312334cca5d8f5adf9844100f15317a86068d4.tar.gz
podman-e0312334cca5d8f5adf9844100f15317a86068d4.tar.bz2
podman-e0312334cca5d8f5adf9844100f15317a86068d4.zip
Merge pull request #3025 from rhatdan/read-only
Add --read-only-tmpfs options
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index f352b188e..c5e404155 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -420,7 +420,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", "/run/lock"} {
+ for _, dest := range []string{"/run"} {
if MountExists(mounts, dest) {
continue
}