diff --git a/pkg/domain/infra/abi/system.go b/pkg/domain/infra/abi/system.go index 95bf5d38ca..24ee64d298 100644 --- a/pkg/domain/infra/abi/system.go +++ b/pkg/domain/infra/abi/system.go @@ -78,10 +78,6 @@ func (ic *ContainerEngine) SetupRootless(_ context.Context, noMoveProcess bool) } } - if !rootless.IsRootless() { - return nil - } - // do it only after podman has already re-execed and running with uid==0. hasCapSysAdmin, err := unshare.HasCapSysAdmin() if err != nil {