DavHau / nix-portable

Nix - Static, Permissionless, Installation-free, Pre-configured
MIT License
902 stars 32 forks source link

No user exists for uid when using ssh or whoami #134

Open DCsunset opened 1 month ago

DCsunset commented 1 month ago

When running NP_RUNTIME=bwrap nix-portable nix shell nixpkgs#bashInteractive, it first complains with a non-fatal error: groups: cannot find name for group ID xxx.

Then in the spawned bash shell, the program whoami and ssh stop working with error No user exists for uid.

This is a similar issue to https://github.com/nix-community/nix-user-chroot/issues/112