Skip to content

nixos/incus: gate bucket support since it requires insecure minio - #514811

Merged
adamcstephens merged 1 commit into
NixOS:masterfrom
adamcstephens:push-xqvlvkyxnnkw
Apr 29, 2026
Merged

adamcstephens merged 1 commit into
NixOS:masterfrom
adamcstephens:push-xqvlvkyxnnkw

Conversation

@adamcstephens

@adamcstephens adamcstephens commented Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

If upstream replaces minio for v7, we can drop this, but minio is now insecure forcing us to act.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

If upstream replaces minio for v7, we can drop this, but minio is now insecure forcing us to act.

@nrabulinski nrabulinski left a comment

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.

Thanks for the quick hotfix 🙂

@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team April 29, 2026 18:28
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 12.approvals: 1 This PR was reviewed and approved by one person. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Apr 29, 2026
@adamcstephens
adamcstephens added this pull request to the merge queue Apr 29, 2026
Merged via the queue into NixOS:master with commit 0eb887f Apr 29, 2026
33 checks passed
@adamcstephens
adamcstephens deleted the push-xqvlvkyxnnkw branch April 29, 2026 19:55
@hatch01

hatch01 commented May 2, 2026 •

Copy link
Copy Markdown
Contributor

Hi, I faced
error: A definition for option virtualisation.incus.bucketSupport' is not of type boolean'. Definition values: null
And came here.
For my curiosity, why in this case did you not add a warning or error with an explanatory message on what's happening for the user.
(something like lib.asserts.assertMsg (lib.versionAtLeast config.system.stateVersion "26.11" && virtualisation.incus.bucketSupport) "please disable this as it is insecure" false)

@adamcstephens

adamcstephens commented May 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Unfortunately the timing of marking minio insecure and the replacement of minio upstream did not align. Perhaps this way of making the users act in a visible way could have be better, but this PR is better than an even more unclear message that minio is vulnerable and users having to track down where it's getting included and having no way to influence the module.

This option is going to be quickly removed again, now that 7.0 is out, and will be handled in #515853

@herbetom herbetom mentioned this pull request May 3, 2026
3 tasks done
dtomvan added a commit to dtomvan/puntbestanden that referenced this pull request May 3, 2026
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 8.has: module (update) This PR changes an existing module in `nixos/` 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. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants