-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nixos/asf: fix home directory permissions, for real #176133
Conversation
(mkIf (cfg.dataDir == "/var/lib/asf") { StateDirectory = "asf"; }) | ||
(mkIf (cfg.dataDir == "/var/lib/asf") { | ||
StateDirectory = "asf"; | ||
StateDirectoryMode = "700"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if this should be 700 or 750 but I am really sure that the last bit must be a 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the last octet even
I only just finished compiling your first PR.. and the service failed with |
No, the reverted commit was actually a noop. The error you got was probably caused by not setting the default correct and not actually testing the default locally. If we break something we should try to fix it but I don't think that after this PR anything is broken. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume your testing was successful and we can merge this? Your change is LGTM to me.
btw is the log tab for you working? For me it just shows blank. |
I've tried it again, deleted all my asf stuff and restarted it with what is running on 22.05. Then when I updated to this branch (might also be from the other PR) it fails with The log tab still works for me, with and before this patch. Also, I've forced pushed my commit again because the copying of the file wasn't optional resulting in an error if ipcPasswordFile was not set |
I just checked my browser console and there is an error. Probably unrelated to this. |
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes