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
I'm using Ubuntu 22.04.2 LTS with home-manager, configured with nixpkgs 23.05.
When I run nix shell nixpkgs#buildah and then run buildah, I get the following error.
Error during setresgid(0): Invalid argument
ERRO[0000] finding newgidmap: exec: "newgidmap": executable file not found in $PATH
ERRO[0000] (Unable to determine exit status)
It's possible to workaround this by installing the uidmap in Ubuntu using sudo apt-get install uidmap.
Steps To Reproduce
As above.
Expected behavior
I wouldn't expect to have to install the uidmap package on my base Ubuntu operating system, I'd expect it to be supported via the distribution.
Got the same error using podman compose. Found newidmap in pkgs.shadow but it fails:
podman compose -f docker-compose-dev.yaml up -d
ERRO[0000] running `/nix/store/9lnr32dcgidlzjhkqc6qlmz6pn2abilz-shadow-4.14.2/bin/newuidmap 452432 0 1000 1 1 100000 65536`: newuidmap: write to uid_map failed: Operation not permitted
Error: cannot set up namespace using "/nix/store/9lnr32dcgidlzjhkqc6qlmz6pn2abilz-shadow-4.14.2/bin/newuidmap": should have setuid or have filecaps setuid: exit status 1
Describe the bug
I'm using Ubuntu 22.04.2 LTS with home-manager, configured with nixpkgs 23.05.
When I run
nix shell nixpkgs#buildah
and then runbuildah
, I get the following error.It's possible to workaround this by installing the
uidmap
in Ubuntu usingsudo apt-get install uidmap
.Steps To Reproduce
As above.
Expected behavior
I wouldn't expect to have to install the
uidmap
package on my base Ubuntu operating system, I'd expect it to be supported via the distribution.Notify maintainers
@Profpatsch
Metadata
The text was updated successfully, but these errors were encountered: