Merge pull request #15503 from giuseppe/make-move-to-sub-cgroup-non-fatal

service: make move to sub-cgroup non fatal
This commit is contained in:
OpenShift Merge Robot
2022-08-26 14:33:12 -04:00
committed by GitHub

View File

@ -105,7 +105,9 @@ func restService(flags *pflag.FlagSet, cfg *entities.PodmanConfig, opts entities
}
if err := utils.MaybeMoveToSubCgroup(); err != nil {
return err
// it is a best effort operation, so just print the
// error for debugging purposes.
logrus.Debugf("Could not move to subcgroup: %v", err)
}
servicereaper.Start()