Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate: why does DetSys nix installer fail on namespace builders #22

Open
colemickens opened this issue Sep 20, 2023 · 2 comments
Open

Comments

@colemickens
Copy link
Member

ref: 61cb3f5

and: https://github.com/nix-community/flake-firefox-nightly/actions/runs/6251954682/job/16974155319

@colemickens
Copy link
Member Author

GitHub doesn't really seem to prune action runs but just in case:

Fetching binary from https://install.determinate.systems/nix/nix-installer-x86_64-linux?ci=github
Downloaded `nix-installer` to `/tmp/nix-installer-u1xeoe/nix-installer-x86_64-linux`
Execution environment: {
    "NIX_INSTALLER_NO_CONFIRM": "true",
    "NIX_INSTALLER_MODIFY_PROFILE": "true",
    "NIX_INSTALLER_DIAGNOSTIC_ENDPOINT": "https://install.determinate.systems/nix/diagnostic",
    "NIX_INSTALLER_START_DAEMON": "true",
    "NIX_INSTALLER_EXTRA_CONF": "access-tokens = github.com=***\ntrusted-users = root runner\naccess-tokens = github.com=***\n"
}
`nix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
systemd was not active.

If it will be started later consider, passing `--no-start-daemon`.

To use a `root`-only Nix install, consider passing `--init none`.
Error: Error: Non-zero exit code of `1` detected

@colemickens
Copy link
Member Author

unrelated, but just somewhere to stick it for now:

  • does cachix/install-nix-action sniff out KVM support and enable it? should it?
  • same question for DeterminateSystems/nix-installer-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant