-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
stage-1: create temporary secrets directory in /tmp and not in cwd #73780
Conversation
Thank you for your contributions.
|
still important to me |
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.
Deployed systems (x86_64-linux) with nixos-rebuild
, krops
and deploy-rs
with this change successfully.
I also tested this change with |
👍 This fix would indeed be useful. |
I marked this as stale due to inactivity. → More info |
👍 |
Motivation for this change
nixos-rebuild boot/switch fails when executed from /nix/store and config.boot.initrd.secrets are used. Its because it creates a directory in the current working directory.
Fix for 73404
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @