-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
daemon user fails to install on macOS #3156
Comments
Of note:
|
note the |
I had the same problem when I tried to install Nix on macOS machines in CircleCI. In my case I created /nix to be an APFS volume (as the current Nix installer does). The fix that worked for me was
I found the Alternatively, this also worked, but it's not as nice:
And here is the whole final /nix setup I used if anybody needs it (for a single-user install), the steps are really just copied from https://github.com/NixOS/nix/blob/master/scripts/create-darwin-volume.sh:
|
@infinisil I also needed to do this on OSX Catalina and it makes the installation a lot harder and complicated than necessary. Can we integrate this into the installer? |
@infinisil @SuperSandro2000 I've been reluctant to cargo-cult parts of this myself because I didn't understand why it wasn't generally needed and whether we can cause any problems doing it. I spotted a sentence in the diskutil manpage this afternoon that may explain it:
If we can nail down conditions pretty well, it'll be easier to add this to the installer with confidence. After looking at the plist from
The output from |
I am a bit lazy to setup a new machine but after running
|
I did confirm that disabling ownership does change GlobalPermissionsEnabled to false, so it certainly seems plausible that there's a 1-to-1 correlation between GlobalPermissionsEnabled==false and this issue. @infinisil @SuperSandro2000 were these single or multi-user installs? |
I don't know anymore. I tried so much getting it working that I forgot which exactly. I think it first occurred with single user. |
During the daemon installation on macOS, this fails with:
The text was updated successfully, but these errors were encountered: