Merge pull request #816 from opencontainers/revert-796-relabeldev

Revert "Need to make sure labels applied to /dev"
This commit is contained in:
Michael Crosby 2016-05-11 11:41:50 -07:00
commit c6a791bef9
1 changed files with 0 additions and 3 deletions

View File

@ -69,9 +69,6 @@ func setupRootfs(config *configs.Config, console *linuxConsole, pipe io.ReadWrit
if err := setupDevSymlinks(config.Rootfs); err != nil {
return newSystemErrorWithCause(err, "setting up /dev symlinks")
}
if err := label.Relabel(filepath.Join(config.Rootfs, "dev"), config.MountLabel, false); err != nil {
return err
}
}
// Signal the parent to run the pre-start hooks.
// The hooks are run after the mounts are setup, but before we switch to the new