-
Notifications
You must be signed in to change notification settings - Fork 16
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
Nix daemon doesn't start in a specific GitHub Enterprise Server environment. #57
Comments
I added some debugging steps, and now I am even more confused.
|
Hm! This is surprising to me, as I'd expect this to work just fine in GHES environments. Are there any differences in the environments between the repositories, like their host OS / hardware? I'd like to gather some more information. Given the amount of information you've provided, I suspect some of the questions I have might be too sensitive for a GitHub issue. Are you up for a call? If necessary, we could get an MNDA in place. If you're up for it, send me an email: gc |
Not that I can tell, both of these usages of the action are in the same GHES organization, so they use the same exact runner (we use ARC to deploy our runners on kubernetes) pool even. I will shoot you an email, thank you for the quick response! |
Thanks @likwid! The issue here ended up being that the Nix daemon wasn't starting properly in your environment. This has been resolved by a couple recent PRs, and released in v9. Thanks for getting on a call and working through it together. I'm going to lock this issue. If the daemon fails to start, these problem will have the same symptoms, but will likely be a separate issue. If folks are having this problem, please open a new issue with new details. |
I am getting this error while using the nix installer action. I am really mystified by what is happening, because I am using this action in two different repositories. In one repository the action works fine, and I don't have any issues. In another repository I am getting the issue title as an error.
Here is the github action workflow yaml. I am sure this will be confusing, but I am on GitHub Enterprise Server, and my work has strict rules around which actions we use. I am using GitHub Actions Sync to bring public actions into GHES.
The workflow fails on the Run yamllint step, and throws the error
error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
In the repository where things work, I am using a pretty similar invocation, but without the usage of
nix develop
. I added a test nix develop invocation, and that also fails witherror: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
.Any idea what could be going on?
The text was updated successfully, but these errors were encountered: