-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
bcachefs-tools: patch to fix unlocking encrypted fs at boot with bcachefs-tools-1.7.0 #310504
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.
PR title should be "Patch to fix boot with encrypted root".
Result of nixpkgs-review pr 310504
run on x86_64-linux 1
1 package built:
- bcachefs-tools
c32340a
to
20362ae
Compare
Nit? It's not restricted to the root fs - seems to be any unlocked at boot. |
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.
Good to go.
Result of 1 package built:
|
Result of 1 test built:
|
Thank you! |
Thank you. Tested this out today and it fixes the issue for me. |
@reedriley recent kernel update to 6.9 broke this on unencrypted systems as well, including my own system. As this patch was not working on bcachefs-tools master, I suspect this is because of that. The upstream PR (koverstreet/bcachefs-tools#263) since then have been updated, and I would very much be supportive of testing it yourself and updating the patch on Nixpkgs. Ideally, the patch needs to be accepted on upstream first. I had to run fsck from a NixOS ISO to fix this and then rebuild from there. |
@JohnRTitor I think I just hit the same breakage on upgrading myself... But unless I'm mistaken bcachefs-tools builds off a tag where this patch does work, and that hasn't changed? And I upgraded from 6.9-rc6 to 6.9.1 which shouldn't have changed interactions here significantly? (In short - I'm confused. If I have time this weekend I'll see what happens if I revert my system's kernel to see if that helps...) |
Fixes #309388
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.