summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-29 16:15:30 +0100
committerGitHub <noreply@github.com>2020-10-29 16:15:30 +0100
commitb6aa9c10770de3d500d5f1b3f0e31bc8e17a855b (patch)
tree21930a004eaf7dd7c31a1b907c2282081515188c
parentfdd32604cf75fc310afca209adad15b1bcecfef7 (diff)
parentcfc41b32fd2e729b2b6c81f4238c7f76a0da1eb3 (diff)
downloadpodman-b6aa9c10770de3d500d5f1b3f0e31bc8e17a855b.tar.gz
podman-b6aa9c10770de3d500d5f1b3f0e31bc8e17a855b.tar.bz2
podman-b6aa9c10770de3d500d5f1b3f0e31bc8e17a855b.zip
Merge pull request #8173 from giuseppe/improve-cannot-reexec-error
rootless: improve error message if cannot join namespaces
-rw-r--r--pkg/domain/infra/abi/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/system.go b/pkg/domain/infra/abi/system.go
index 57c098166..613c4a6d8 100644
--- a/pkg/domain/infra/abi/system.go
+++ b/pkg/domain/infra/abi/system.go
@@ -123,7 +123,7 @@ func (ic *ContainerEngine) SetupRootless(_ context.Context, cmd *cobra.Command)
}
}
if err != nil {
- logrus.Error(err)
+ logrus.Error(errors.Wrapf(err, "invalid internal status, try resetting the pause process with %q", os.Args[0]+" system migrate"))
os.Exit(1)
}
if became {