Skip to content

Commit

Permalink
Merge pull request #15503 from giuseppe/make-move-to-sub-cgroup-non-f…
Browse files Browse the repository at this point in the history
…atal

service: make move to sub-cgroup non fatal
  • Loading branch information
openshift-merge-robot authored Aug 26, 2022
2 parents e47b54d + e448122 commit 8096b18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/podman/system/service_abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8096b18

Please sign in to comment.