remove need for any caps
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
cf693648a1
commit
f004df8813
4 changed files with 5 additions and 11 deletions
3
vendor/github.com/docker/docker/pkg/archive/archive.go
generated
vendored
3
vendor/github.com/docker/docker/pkg/archive/archive.go
generated
vendored
|
@ -421,7 +421,8 @@ func createTarFile(path, extractDir string, hdr *tar.Header, reader io.Reader, L
|
|||
chownOpts = &TarChownOptions{UID: hdr.Uid, GID: hdr.Gid}
|
||||
}
|
||||
if err := os.Lchown(path, chownOpts.UID, chownOpts.GID); err != nil {
|
||||
return err
|
||||
logrus.Debugf("lchown archive err: %v", err)
|
||||
// return err
|
||||
}
|
||||
}
|
||||
|
||||
|
|
3
vendor/github.com/opencontainers/runc/libcontainer/process_linux.go
generated
vendored
3
vendor/github.com/opencontainers/runc/libcontainer/process_linux.go
generated
vendored
|
@ -255,7 +255,8 @@ func (p *initProcess) start() error {
|
|||
// Do this before syncing with child so that no children
|
||||
// can escape the cgroup
|
||||
if err := p.manager.Apply(p.pid()); err != nil {
|
||||
return newSystemError(err)
|
||||
logrus.Debugf("cgroups apply err: %v", err)
|
||||
// return newSystemError(err)
|
||||
}
|
||||
defer func() {
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue