From 7ee6bf15738d582e8ef20dc470a824b7ed0e3429 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 25 Sep 2018 13:42:48 -0400 Subject: Disable problematic SELinux code causing runc issues Signed-off-by: Matthew Heon Closes: #1541 Approved by: baude --- libpod/container_internal_linux.go | 7 ------- 1 file changed, 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 -- cgit v1.2.3-54-g00ecf