Disable problematic SELinux code causing runc issues

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #1541
Approved by: baude
This commit is contained in:
Matthew Heon 2018-09-25 13:42:48 -04:00 committed by Atomic Bot
parent af791f340c
commit 7ee6bf1573
1 changed files with 0 additions and 7 deletions

View File

@ -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