All commands fail: newuidmap: write to uid_map failed: Operation not permitted #23596
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
All podman commands except 'help' fail with newuidmap error
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
$podman version
ERRO[0000] running
/home/wspear/bin/SPACK/spack/opt/spack/linux-ubuntu22.04-westmere/gcc-11.4.0/shadow-4.15.1-scebl4w32yzrxr32gpmomkcfk63j6o5d/bin/newuidmap 1019899 0 1000 1 1 100000 65536
: newuidmap: write to uid_map failed: Operation not permittedError: cannot set up namespace using "/home/wspear/bin/SPACK/spack/opt/spack/linux-ubuntu22.04-westmere/gcc-11.4.0/shadow-4.15.1-scebl4w32yzrxr32gpmomkcfk63j6o5d/bin/newuidmap": should have setuid or have filecaps setuid: exit status 1
Describe the results you expected
Ideally any podman command should work.
podman info output
I am using a spack installed [email protected] and a spack installed shadow-utils on ubuntu 22.04 for x86_64 (bare metal workstation)
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
n/a
Additional information
Chmodding newuidmap and newgidmap to 4755 and running with '--storage-opt ignore_chown_errors' made no difference.
The text was updated successfully, but these errors were encountered: