Skip to content

image: GNU's coreutils, not uutils' - #210

Merged
aledbf merged 1 commit into
mainfrom
base-gnu-coreutils
Oct 19, 2026
Merged

aledbf merged 1 commit into
mainfrom
base-gnu-coreutils

Conversation

@aledbf

@aledbf aledbf commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Closes #205 once a release is built from it: the 21 OSV findings against rust-coreutils 0.10.0 have no fix in the 26.04 archive, while gnu-coreutils 9.7 has none.

Ubuntu 26.04 ships both implementations behind coreutils. mkosi installs the essential set, uutils included, before the image's own list, so the list swaps them (coreutils-from-gnu, coreutils-from-uutils-) and removes rust-coreutils by name, because autoremove keeps it.

This changes what a workload finds in the guest: ls, cp and the rest are GNU's. That is the more compatible of the two, but it is a change to the userland.

Checked locally:

  • packages.txt lists coreutils-from-gnu and gnu-coreutils, and no rust-coreutils;
  • the image is 855M, down from 877M;
  • in a booted guest, ls --version reports GNU coreutils 9.7 and /usr/bin/cp points to gnucp;
  • task boot:logind passes (SSH login, user services, sudo, logout).

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

26.04 installs coreutils from uutils by default, and OSV lists 21 findings
against rust-coreutils 0.10.0 with no fix in the archive (#205); none
against gnu-coreutils 9.7. Ubuntu ships both behind the coreutils package.
mkosi installs the essential set, uutils included, before the image's own
list, so the list swaps them and removes rust-coreutils, which apt's
autoremove would keep: the essential set installed it as asked for.

Checked: packages.txt has coreutils-from-gnu and gnu-coreutils and no
rust-coreutils; the image is 855M against 877M; ls in the guest is GNU
coreutils 9.7 and cp is gnucp; task boot:logind passes (SSH login, user
services, sudo, logout).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit fb39fd5 into main Oct 19, 2026
3 checks passed
@aledbf
aledbf deleted the base-gnu-coreutils branch October 19, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

osv: rust-coreutils

1 participant