summaryrefslogtreecommitdiff
path: root/libpod/container_internal_linux.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-09-25 13:42:48 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-09-25 19:32:17 +0000
commit7ee6bf15738d582e8ef20dc470a824b7ed0e3429 (patch)
treea28054ec00ade568bf35d5c3f7b4f04a78e2e2d6 /libpod/container_internal_linux.go
parentaf791f340cfc3f8134e1fe0e3b0a6d3597706277 (diff)
downloadpodman-7ee6bf15738d582e8ef20dc470a824b7ed0e3429.tar.gz
podman-7ee6bf15738d582e8ef20dc470a824b7ed0e3429.tar.bz2
podman-7ee6bf15738d582e8ef20dc470a824b7ed0e3429.zip
Disable problematic SELinux code causing runc issues
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #1541 Approved by: baude
Diffstat (limited to 'libpod/container_internal_linux.go')
-rw-r--r--libpod/container_internal_linux.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index 553a612b3..b77beaf64 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -283,13 +283,6 @@ func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
mounts := sortMounts(g.Mounts())
g.ClearMounts()
for _, m := range mounts {
- switch m.Type {
- case "tmpfs", "devpts":
- o := label.FormatMountLabel("", c.config.MountLabel)
- if o != "" {
- m.Options = append(m.Options, o)
- }
- }
g.AddMount(m)
}
return g.Config, nil