error running `/usr/bin/newuidmap' ; target process is owned by a different user #15167
Replies: 3 comments 3 replies
-
@giuseppe PTAL |
Beta Was this translation helpful? Give feedback.
-
@Pranavbalu did you ever figure out how to resolve this issue? i am experiencing the exact same error. have tried removing ~/.local/share/containers with no avail, uid mapping appears to be correct as well. |
Beta Was this translation helpful? Give feedback.
-
We had a similar issue... in our case, it turns out that we had our user This bug was particularly confusing as I was able to run podman just fine when logged in interactively as user We were able to get podman working again by editing the It is worth mentioning this issue only cropped up after updating to Jenkins 2.452.3. With older versions (unfortunately I do not have documented which, exactly), there were no issues running podman. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Error while trying to run docker-compose using podman from jenkins.
I've added jenkins user to subuid and subgid.
newuidmap: Target process 3832557 is owned by a different user: uid:696124 pw_uid:696124 st_uid:696124, gid:675 pw_gid:10 st_gid:675\n"
time="2022-08-03T06:37:24Z" level=error msg="invalid internal status, try resetting the pause process with "/usr/bin/podman system migrate": cannot setup namespace using "/usr/bin/newuidmap": exit status 1"
Podman Version: 4.0.2
id -un 696124
jenkins
When the command is directly executed from CLI
/usr/bin/newuidmap 3832557 0 696124 1 1 2966608 65536
newuidmap: Could not open proc directory for target 3832557
podman unshare cat /proc/self/uid_map
0 1596188 1
1 231072 65536
Beta Was this translation helpful? Give feedback.
All reactions