Skip to content
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

release-lib: add exception to build olm on hydra #347899

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

rnhmjoj
Copy link
Contributor

@rnhmjoj rnhmjoj commented Oct 11, 2024

Olm was marked as vulnerable in e4767b4.

The issue, however, is controversial and the practical ability to exploit its vulnerabilities has not been demostrated: ultimately the users are invited to decide for themselves.

Given that, hydra should still build and distribute the packages depending on olm to avoid expensive builds in the event the users decide it's acceptable to continue using these packages.

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.

Note: this change was split off of #341831

@rnhmjoj rnhmjoj requested a review from a team October 11, 2024 10:43
@rnhmjoj rnhmjoj mentioned this pull request Oct 11, 2024
13 tasks
@SigmaSquadron SigmaSquadron requested a review from emilazy October 11, 2024 10:56
@mweinelt
Copy link
Member

Can we go just with permittedInsecurePackages in pkgs/top-level/release.nix instead?

b0b4d2d

@ofborg ofborg bot added 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 labels Oct 11, 2024
@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Oct 11, 2024

Can we go just with permittedInsecurePackages in pkgs/top-level/release.nix instead?

Do we not want to allow it for every release? There are 7 release files, so I think it makes sense to have a single place where to add exceptions.

@mweinelt
Copy link
Member

As longs as it is cached by the nixpkgs/trunk builds that should be sufficient.

@nix-owners nix-owners bot requested a review from natsukium October 12, 2024 14:11
@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Oct 12, 2024

Done as in b0b4d2d.

Olm was marked as vulnerable in e4767b4.

The issue, however, is controversial and the practical ability to
exploit its vulnerabilities has not been demostrated: ultimately the
users are invited to decide for themselves.

Given that, hydra should still build and distribute the packages
depending on olm to avoid expensive builds in the event the users
decide it's acceptable to continue using these packages.
@mweinelt mweinelt merged commit 21c7313 into NixOS:master Oct 12, 2024
10 of 11 checks passed
@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Oct 12, 2024

Thank you!

@rnhmjoj rnhmjoj deleted the pr-nheko-cache branch November 29, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants