mirror of
https://github.com/containers/podman.git
synced 2025-06-25 03:52:15 +08:00
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:
@ -105,7 +105,9 @@ func restService(flags *pflag.FlagSet, cfg *entities.PodmanConfig, opts entities
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := utils.MaybeMoveToSubCgroup(); err != nil {
|
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()
|
servicereaper.Start()
|
||||||
|
Reference in New Issue
Block a user