nix-installer
nix-installer copied to clipboard
stderr: useradd: UID 30011 is not unique
trafficstars
Is there a reason 30000 is hardcoded?
Error
Error:
0: Install failure
1: Error executing action
2: Action `create_users_and_group` errored
3: Action `create_user` errored
4: Failed to execute command with status 4 `"useradd" "--home-dir" "/var/empty" "--comment" "Nix build user 11" "--gid" "30000" "--groups" "30000" "--no-user-group" "--system" "--shell" "/sbin/nologin" "--uid" "30011" "--password" "!" "nixbld11"`, stdout:
stderr: useradd: UID 30011 is not unique
Metadata
| key | value |
|---|---|
| version | 0.15.1 |
| os | linux |
| arch | x86_64 |
30000 is what the official install scripts use, and we generally match them. We should address this by checking UID as well as suggested in #842