Copying blob 16113d51b718 done |
Copying config c157a85ed4 done |
Writing manifest to image destination
cannot chdir to /var/roothome: Permission denied
Error: setting up the process
Error: exit status 125
Describe the results you received
The command in step 5 fails.
Describe the results you expected
I expected the command in step 5 to succeed.
A sidenote: The command in step 5 succeeds if I replace step 2 with cd /
Issue Description
The choice of current working directory decides whether this command succeeds or not:
Podman version used: 5.2.4
Steps to reproduce the issue
Steps to reproduce the issue
sudo -i
cd /root
podman pull docker.io/library/alpine
useradd test
The command fails and prints the following output
Describe the results you received
The command in step 5 fails.
Describe the results you expected
I expected the command in step 5 to succeed.
A sidenote: The command in step 5 succeeds if I replace step 2 with
cd /
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Fedora CoreOS 41.20241006.1.1
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting