diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-02-25 16:41:16 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-02-25 18:56:09 +0100 |
commit | 0f5ae3c5af60f95b73c709b51db50d39ae1b3693 (patch) | |
tree | 2896a55965cd5db977e0ddfbeed883ddc722b803 /cmd/podman/pod_inspect.go | |
parent | 553ac800c87b31de0bb22ae0c6f2e2e24bdcfe73 (diff) | |
download | podman-0f5ae3c5af60f95b73c709b51db50d39ae1b3693.tar.gz podman-0f5ae3c5af60f95b73c709b51db50d39ae1b3693.tar.bz2 podman-0f5ae3c5af60f95b73c709b51db50d39ae1b3693.zip |
podman: fix ro bind mounts if no* opts are on the source
This is a workaround for the runc issue:
https://github.com/opencontainers/runc/issues/1247
If the source of a bind mount has any of nosuid, noexec or nodev, be
sure to propagate them to the bind mount so that when runc tries to
remount using MS_RDONLY, these options are also used.
Closes: https://github.com/containers/libpod/issues/2312
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman/pod_inspect.go')
0 files changed, 0 insertions, 0 deletions