-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
nixos/syncoid: fix permissions without --no-sync-snap #104420
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
Conversation
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.
Can you guess what argument every command in my config has... :)
After 733acfa, syncoid would fail to run if commonArgs did not include [ "--no-sync-snap" ], since it would not have permissions to create or destroy snapshots.
415b835
to
d87903a
Compare
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.
Thinking about this some more, I would rather test both with and without --no-sync-snap
. I have implemented it here: lopsided98@7052ab7, if you want to pull it into this PR.
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.
a2517bd
to
0f66d95
Compare
@lopsided98 Also fixed a small typo in your commit message: s/synoid/syncoid/ |
@ofborg test sanoid |
After 733acfa, syncoid would fail to
run if
commonArgs
did not include[ "--no-sync-snap" ]
, since it wouldnot have permissions to create or destroy snapshots.
CC @lopsided98
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)