Installation in WSL fails #60

Open
opened 2025-10-22 10:22:04 +00:00 by dwt · 0 comments

Error

Error: 
   0: Install failure
   1: Error executing action
   2: Action `configure_nix` errored
   3: Action `setup_default_profile` errored
   4: Failed to execute command with status 1 `HOME="/root" NIX_SSL_CERT_FILE="/nix/store/y2zh06pccwcvz43xwgd8mr8pbqflkqww-nss-cacert-3.107/etc/ssl/certs/ca-bundle.crt" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0/bin/nix-env" "-i" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0"`, stdout: 
      stderr: installing 'lix-2.93.0'
      warning: user namespaces do not work on this system: error: unable to fork: Invalid argument
      warning: user namespaces appear to be disabled; check '/proc/sys/user/max_user_namespaces'
      error: unable to start build process


Metadata

key value
version 0.17.1
os linux
arch x86_64

This is sadly not my machine, which means I can not as easily test, and this might be due to a misconfiguration on his part, still, until we know what it is I thought it helpful to report here.

Not sure how user namespaces are used with nix, but I guess that it has something to do with the sandboxing. If I can provide additional tests for this issue, please let me know.

## Error ``` Error: 0: Install failure 1: Error executing action 2: Action `configure_nix` errored 3: Action `setup_default_profile` errored 4: Failed to execute command with status 1 `HOME="/root" NIX_SSL_CERT_FILE="/nix/store/y2zh06pccwcvz43xwgd8mr8pbqflkqww-nss-cacert-3.107/etc/ssl/certs/ca-bundle.crt" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0/bin/nix-env" "-i" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0"`, stdout: stderr: installing 'lix-2.93.0' warning: user namespaces do not work on this system: error: unable to fork: Invalid argument warning: user namespaces appear to be disabled; check '/proc/sys/user/max_user_namespaces' error: unable to start build process ``` ## Metadata |key|value| |--|--| |**version**|0.17.1| |**os**|linux| |**arch**|x86_64| This is sadly not my machine, which means I can not as easily test, and this might be due to a misconfiguration on his part, still, until we know what it is I thought it helpful to report here. Not sure how user namespaces are used with nix, but I guess that it has something to do with the sandboxing. If I can provide additional tests for this issue, please let me know.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix-installer#60
No description provided.