Skip to content

minio: drop, minio-client: mark with knownVulnerabilities - #572974

Merged
hesiod merged 7 commits into
NixOS:masterfrom
herbetom:drop-minio
Oct 16, 2026
Merged

hesiod merged 7 commits into
NixOS:masterfrom
herbetom:drop-minio

Conversation

@herbetom

Copy link
Copy Markdown
Member

Minio was tagged with knownVulnerabilities back in #491337.

It was announced in the Release Notes of 26.05 (#516173) that it would be dropped with 26.11. This implements that.

In addition this marks minio-client as vulnerable since it has also been archived since. I choose this course of action to give users a chance to migrate to alternatives.

(minio-py is still in development so that was kept around.)

Tracking Issue: #490996

Things done

@herbetom herbetom mentioned this pull request Oct 11, 2026
15 of 19 tasks
@herbetom
herbetom marked this pull request as draft October 11, 2026 21:36
@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. 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 Oct 11, 2026
@Ma27

Ma27 commented Oct 11, 2026

Copy link
Copy Markdown
Member

cc @Scrumplex @yayayayaka

@nixpkgs-ci nixpkgs-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for contributing to the documentation.

Follow the documentation style guide, especially:

  • Show, don’t tell. Start with a minimal working example. Explain after the code.
  • Avoid meta-commentary. Don’t write "This section explains how to…".
  • Use present tense, imperative mood, and active voice. For example: "Run the command," not "The user should run the following command."
  • Avoid vague references like "this" when the referent is unclear. Write "This command creates a folder," not "This will create a folder."
  • Be direct. Avoid "should", "might", "typically", and "usually".
  • Cut filler words like "simply", "just", "easily", and "basically". Use "to" instead of "in order to".

For larger changes, such as adding or removing whole sections, ask the NixOS documentation team for review.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. labels Oct 11, 2026
@bachp

bachp commented Oct 12, 2026

Copy link
Copy Markdown
Member

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (c28ca54)

Command: nixpkgs-review pr 572974
Commit: c6be4f1b588677eaa2b054e3c0ab0e9584f1e64a (subsequent changes)
Merge: bbffa15114921d37610863b4f2a0a183824647a5

Logs: https://github.com/bachp/nixpkgs-review-gha/actions/runs/38212446465/attempts/1

Download packages from cache:
  • x86_64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://bachp-nixpkgs-review-gha.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        bachp-nixpkgs-review-gha.cachix.org-1:CI/v+Fc0RnhFck42q60eNjzTJ2fp6HglnI75SuE4PeY=
      ' \
      /nix/store/bb7m07y1wrq8mcq5rka9r5v9i8iwcpaa-nixpkgs-manual-26.11
  • aarch64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://bachp-nixpkgs-review-gha.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        bachp-nixpkgs-review-gha.cachix.org-1:CI/v+Fc0RnhFck42q60eNjzTJ2fp6HglnI75SuE4PeY=
      ' \
      /nix/store/hg6v4xlnaw935q6bkj8riaklkb6isbmf-nixpkgs-manual-26.11
  • aarch64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://bachp-nixpkgs-review-gha.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        bachp-nixpkgs-review-gha.cachix.org-1:CI/v+Fc0RnhFck42q60eNjzTJ2fp6HglnI75SuE4PeY=
      ' \
      /nix/store/hi31fx5xvagg0dwdi221gz41z13jgi17-nixpkgs-manual-26.11

x86_64-linux

⏩ 1 package present in ofBorgs evaluation, but not found in the checkout:
  • minio
⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 1 package built:
  • nixpkgs-manual

aarch64-linux

⏩ 1 package present in ofBorgs evaluation, but not found in the checkout:
  • minio
⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 1 package built:
  • nixpkgs-manual

x86_64-darwin

✅ No rebuilds


aarch64-darwin (sandbox = relaxed)

⏩ 1 package present in ofBorgs evaluation, but not found in the checkout:
  • minio
✅ 1 package built:
  • nixpkgs-manual

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 12, 2026
@herbetom

Copy link
Copy Markdown
Member Author

@aciceri @kalbasit This PR drops the ncps-storage-s3 test you're maintaining. It probably hasn't been running since April (#491337).
I wanted to give you a short headsup and i think adding it again should be no problem but it needs to migrated to some other s3 backend as well as to use something other then the minio-client.

For the s3 backend an option could be either garage or a systemd service with something along the lines of rclone serve s3 /data --addr :9000 --auth-key "easy-key,easy-secret" (got the idea from here).

You could also take a look at the nextcloud test: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nextcloud/with-objectstore.nix.
But having different setups is IMHO also quite interesting so that the tests represent a broader range of setups.

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 12, 2026
@herbetom
herbetom marked this pull request as ready for review October 12, 2026 15:20
@dotlambda dotlambda linked an issue Oct 12, 2026 that may be closed by this pull request
15 of 19 tasks
@herbetom
herbetom force-pushed the drop-minio branch 2 times, most recently from fcbb376 to dd5aaed Compare October 12, 2026 15:30
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, bachp and ryan4yin October 12, 2026 15:38
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 12, 2026
Comment thread doc/release-notes/rl-2611.section.md Resolved
Comment thread nixos/tests/all-tests.nix Resolved
@yayayayaka
yayayayaka requested a review from a team October 13, 2026 10:09

@yayayayaka yayayayaka 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.

Approving from our side. Please merge before 2026-10-26, thanks! :)

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 13, 2026
@herbetom

Copy link
Copy Markdown
Member Author

rebased and I think it's ready from my side :)

@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 13, 2026

@Scrumplex Scrumplex 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.

Changes LGTM.

Minor nit about commit ordering:

Technically we should drop the NixOS module before dropping the package

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Oct 14, 2026
@hesiod

hesiod commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Looking at the list in #490996, the gitea module is the only one left referencing minio. Should we remove those references first before merging this PR? I'd personally say that is not a blocker and can be done independently.

@herbetom

herbetom commented Oct 16, 2026 •

Copy link
Copy Markdown
Member Author

The main problem with the gitea minio options is the name: #490996 (comment)

(They do use minio-go under the hood but that seems still maintained so that shouldn't be a problem. Related: go-gitea/gitea#36097)

I really don't like the current option name (tbh. it should at least end in File) but i don't think deviating from upstream would be a good idea and changing it now just a bit just to change it completely once gitea hopefully generalizes the naming also seems not like a great idea.

I opted to propose to change the description so that it is maybe at least a bit more discoverable.

@hesiod
hesiod added this pull request to the merge queue Oct 16, 2026
Merged via the queue into NixOS:master with commit 42094b5 Oct 16, 2026
28 checks passed
@trofi

trofi commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Caused minor eval failure of tests referring to deleted minio. Proposed the fix as:

@herbetom
herbetom deleted the drop-minio branch October 16, 2026 20:01
@herbetom herbetom mentioned this pull request Nov 28, 2026
2 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 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

minio: package abandoned by upstream

9 participants