From 817f86c73464f35d05dd876d8ede9847165303ba Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 8 May 2020 16:25:10 +0200 Subject: abi: do not attempt to setup rootless if euid==0 if the process has already euid==0 do not attempt to setup rootless. Signed-off-by: Giuseppe Scrivano --- pkg/domain/infra/abi/system.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/domain/infra/abi/system.go b/pkg/domain/infra/abi/system.go index 692fcfa0f..24c62465f 100644 --- a/pkg/domain/infra/abi/system.go +++ b/pkg/domain/infra/abi/system.go @@ -86,6 +86,7 @@ func (ic *ContainerEngine) SetupRootless(_ context.Context, cmd *cobra.Command) } } } + return nil } pausePidPath, err := util.GetRootlessPauseProcessPidPath() -- cgit v1.2.3-54-g00ecf