summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/system.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-10-28 15:26:51 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-10-29 08:49:40 +0100
commitcfc41b32fd2e729b2b6c81f4238c7f76a0da1eb3 (patch)
treeda2f44b7a2fdef681f7798214eded6a831e6014e /pkg/domain/infra/abi/system.go
parentd30b4b7aa5076c3192faada7d408f039a40414eb (diff)
downloadpodman-cfc41b32fd2e729b2b6c81f4238c7f76a0da1eb3.tar.gz
podman-cfc41b32fd2e729b2b6c81f4238c7f76a0da1eb3.tar.bz2
podman-cfc41b32fd2e729b2b6c81f4238c7f76a0da1eb3.zip
rootless: improve error message if cannot join namespaces
if podman failed to join the rootless namespaces, give users a better errror message and possible solution. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1891220 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/system.go')
-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 {