remove need for any caps

Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
Jess Frazelle 2016-04-17 21:37:13 -07:00
parent cf693648a1
commit f004df8813
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3
4 changed files with 5 additions and 11 deletions

View file

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

View file

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