mirror of https://github.com/containers/podman.git
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:
parent
af791f340c
commit
7ee6bf1573
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue