You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TryJoinFromFilePaths fails with ESRCH when the PID are all not valid anymore
96
+
// In this case create a new userns.
97
+
iferrors.Is(err, unix.ESRCH) {
98
+
logrus.Warnf("Failed to join existing conmon namespace, creating a new rootless podman user namespace. If there are existing container running please stop them with %q to reset the namespace", os.Args[0]+" system migrate")
logrus.Error(fmt.Errorf("invalid internal status, try resetting the pause process with %q: %w", os.Args[0]+" system migrate", err))
103
-
os.Exit(1)
107
+
returnfmt.Errorf("fatal error, invalid internal status, unable to create a new pause process: %w. Try running %q and if that doesn't work reboot to recover", err, os.Args[0]+" system migrate")
108
+
}
109
+
if!noMoveProcess {
110
+
systemd.MovePauseProcessToScope(pausePidPath)
104
111
}
105
112
ifbecame {
106
113
os.Exit(ret)
107
114
}
115
+
116
+
logrus.Error("Internal error, failed to re-exec podman into user namespace without error. This should never happen, if you see this please report a bug")
0 commit comments