We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d7358d commit 6f43a66Copy full SHA for 6f43a66
cmd/podman/system/service_abi_linux.go
@@ -3,7 +3,6 @@
3
package system
4
5
import (
6
- "github.com/containers/podman/v6/pkg/rootless"
7
"github.com/sirupsen/logrus"
8
"go.podman.io/common/pkg/cgroups"
9
"go.podman.io/common/pkg/servicereaper"
@@ -15,11 +14,6 @@ func maybeStartServiceReaper() {
15
14
}
16
17
func maybeMoveToSubCgroup() {
18
- cgroupv2, _ := cgroups.IsCgroup2UnifiedMode()
19
- if rootless.IsRootless() && !cgroupv2 {
20
- logrus.Warnf("Running 'system service' in rootless mode without cgroup v2, containers won't survive a 'system service' restart")
21
- }
22
-
23
if err := cgroups.MaybeMoveToSubCgroup(); err != nil {
24
// it is a best effort operation, so just print the
25
// error for debugging purposes.
0 commit comments