Skip to content

suidChroot: drop - #407947

Merged
Aleksanaa merged 1 commit into
NixOS:masterfrom
GrimmTheShrimp:suidChroot-drop
May 17, 2025
Merged

Aleksanaa merged 1 commit into
NixOS:masterfrom
GrimmTheShrimp:suidChroot-drop

Conversation

@GrimmTheShrimp

@GrimmTheShrimp GrimmTheShrimp commented May 17, 2025 •

Copy link
Copy Markdown
Contributor

The package fails to build with gcc 14.
It has neither maintainer nor homepage link in nixpkgs. The last commit specifically interacting with suidChroot was in 2017, the last update was in 2015. With no linked repository and no maintenance, the security of something claiming to be a "Setuid-safe wrapper for chroot" is questionable at best.

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/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (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.

The package fails to build with gcc 14.
It has neither maintainer nor homepage link in nixpkgs.
The last commit specifically interacting with `suidChroot` was in 2017,
the last update was in 2015. With no linked repository and no maintenance,
the security of something claiming to be a "Setuid-safe wrapper for chroot" is questionable at best.
@GrimmTheShrimp

Copy link
Copy Markdown
Contributor Author

part of #403336

@GrimmTheShrimp GrimmTheShrimp added 1.severity: security Issues which raise a security issue, or PRs that fix one 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign backport release-25.05 labels May 17, 2025
@github-actions github-actions 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 May 17, 2025
@GrimmTheShrimp

Copy link
Copy Markdown
Contributor Author

Also part of #388196

@Sigmanificient Sigmanificient mentioned this pull request May 17, 2025
27 of 28 tasks
@GrimmTheShrimp GrimmTheShrimp added the 8.has: clean-up This PR removes packages or removes other cruft label May 17, 2025
@Sigmanificient

Sigmanificient commented May 17, 2025 •

Copy link
Copy Markdown
Member

This package is from 2009, and i have trouble to find anything about it online... which is indeed concerning 😅

Last maintenance on it seems to be 855c1bd (from Mic92, june 2017)... which also state:

To be useful in nixos, it probably also requires a module to set up a hardening wrapper.

@Aleksanaa
Aleksanaa merged commit 64507e0 into NixOS:master May 17, 2025
@nixpkgs-ci

nixpkgs-ci Bot commented May 17, 2025

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-25.05:

@nixpkgs-ci nixpkgs-ci Bot added the 8.has: port to stable This PR already has a backport to the stable release. label May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 1.severity: security Issues which raise a security issue, or PRs that fix one 8.has: clean-up This PR removes packages or removes other cruft 8.has: port to stable This PR already has a backport to the stable release. 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.

5 participants