Skip to content

ceph: Fix missing patch for Ceph with dmcrypt - #335684

Merged
nh2 merged 2 commits into
NixOS:masterfrom
nh2:issue-334975-fix-ceph-with-dmcrypt
Aug 31, 2024
Merged

nh2 merged 2 commits into
NixOS:masterfrom
nh2:issue-334975-fix-ceph-with-dmcrypt

Conversation

@nh2

@nh2 nh2 commented Aug 18, 2024

Copy link
Copy Markdown
Contributor

Description of changes

Fixes #334975.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@nh2
nh2 requested review from dotlambda and emilazy August 18, 2024 21:38
@nh2 nh2 self-assigned this Aug 18, 2024
@nh2

nh2 commented Aug 18, 2024

Copy link
Copy Markdown
Contributor Author

CC @benaryorg. It was already tested in that issue, so we can merge if it builds.

@ofborg
ofborg Bot requested review from adevress, johanot and krav August 18, 2024 23:13
@ofborg ofborg Bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Aug 18, 2024
@benaryorg

Copy link
Copy Markdown
Contributor

Any chance we can get this merged and backported soon-ish?
nixos-24.05 has been broken for Ceph dmcrypt users for about three weeks at this point.

@nh2
nh2 force-pushed the issue-334975-fix-ceph-with-dmcrypt branch from 554f26d to 0cd631e Compare August 31, 2024 11:10
@github-actions github-actions Bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Aug 31, 2024
@nh2

nh2 commented Aug 31, 2024

Copy link
Copy Markdown
Contributor Author

I rebased, re-tested, and added the NixOS VM test contributed in PR #336580 that covers this. Passes for me. Merging.

Closes #336580.

@nh2
nh2 merged commit 53152af into NixOS:master Aug 31, 2024
@nh2

nh2 commented Aug 31, 2024

Copy link
Copy Markdown
Contributor Author

Any chance we can get this merged and backported soon-ish?

Working on that now.

@ofborg ofborg Bot added 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. and removed 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Aug 31, 2024
@nh2

nh2 commented Aug 31, 2024

Copy link
Copy Markdown
Contributor Author

Working on that now.

@benaryorg Please review the backport: #338630

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this merged with a failing check? This new file should have been formatted with nixfmt.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dotlambda It was a direct cherry-pick from https://github.com/NixOS/nixpkgs/pull/336580/checks where all checks passed. I'm not sure why the check didn't run there.

Should I make a PR to fix it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. It was only the maintainer list change

-      maintainers = [ benaryorg nh2 ];
+      maintainers = [
+        benaryorg
+        nh2
+      ];

that was accidental and already removed again in https://github.com/NixOS/nixpkgs/pull/338619/files

@benaryorg benaryorg mentioned this pull request Aug 31, 2024
1 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ceph 18.2.4 still broken with cryptsetup/dmcrypt

3 participants