News for hackers. Stuff that matters.
Re:Bugs Rust Won't Catch by concinds on Wednesday April 29, 2026 @04:34AM (#47945641)
Reading that Canonical thread was jaw-dropping. Paraphrased: "Rust is more secure, security is our priority, therefore deploying this full-rewrite of core utils is an emergency. If things break that's fine, we'll fix it :)".

I would not want to run any code on my machines made by people who think like this. And I'm pro-Rust. Rust is only "more secure" all else being equal. But all else is not equal.

A rewrite necessarily has orders of magnitude more bugs and vulnerabilities than a decades-old well-maintained codebase, so the security argument was only valid for a long-term transition, not a rushed one. And the people downplaying user impact post-rollout, arguing that "this is how we'll surface bugs", and "the old coreutils didn't have proper test cases anyway" are so irresponsible. Users are not lab rats. Maintainers have a moral responsibility to not harm users' systems' reliability (I know that's a minority opinion these days). Their reasoning was flawed, and their values were wrong.

Re:Bugs Rust Won't Catch by zx8080 on Wednesday April 29, 2026 @06:06AM (#47946240)
Agree with the point. Asking sincerely, how to filter out installing any rust-rewrite packages on my machines? Does anyone know the way?
Re:Bugs Rust Won't Catch by theandrewbailey on Wednesday April 29, 2026 @07:02AM (#47946634)
I'm unaware of any Rust rewrites outside of coreutils, so:

    sudo apt install coreutils-from-gnu
https://computingforgeeks.com/ubuntu-2604-rust-coreutils-gui...
Re:Bugs Rust Won't Catch by pxc on Wednesday April 29, 2026 @11:52AM (#47950133)
There aren't true 1:1 clones, but there's ripgrep (inspired by GNU grep) and fd (inspired by GNU find). Those two I like, though. I think they're thoughtfully designed and in ripgrep's case at least (I just haven't read posts/comments by fd's author), it was developed with some close study of other grep implementations. I still use GNU grep and GNU find as well, but rg and fd are often nice for me.
Re:Bugs Rust Won't Catch by kbolino on Wednesday April 29, 2026 @12:51PM (#47951036)
The other nice thing about rg and fd is that they work natively on Windows.
Re:Bugs Rust Won't Catch by kibwen on Wednesday April 29, 2026 @06:56AM (#47946594)
If you don't want Canonical's packages, you should probably just be using Debian rather than Ubuntu. It's not 2008 anymore, stock Debian is quite user-friendly.
Re:Bugs Rust Won't Catch by tambre on Wednesday April 29, 2026 @07:17AM (#47946756)
Worth noting is that in Debian experimental coreutils defaults to coreutils-from-uutils [0]. This came as a big surprise and as far as I can tell there's been no discussion. A Canonical developer seems to have unilaterally overwritten the coreutils package without discussing with the maintainer. All the package renames that are in Ubuntu aren't in Debian so you can't switch to GNU utils either without deep trickery in a separate recovery environment.

I'm used to running experimental software but I wasn't ready for my computer to not boot one day because of uutils. The `-Z` flag for `cp` wasn't implemented in the 9 month old version shipped in Debian at that time so initramfs creation failed...

[0] https://packages.debian.org/experimental/coreutils

Re:Bugs Rust Won't Catch by riffraff on Wednesday April 29, 2026 @09:12AM (#47947913)
that... seems newsworthy on its own merit.
Re:Bugs Rust Won't Catch by dvhh on Wednesday April 29, 2026 @11:50AM (#47950093)
Considering how Ubuntu seems to influence Debian development, this is only slightly surprising.

See: https://lists.debian.org/deity/2025/10/msg00071.html - Hard Rust requirements from May onward - by a Core Ubuntu Developer

Re:Bugs Rust Won't Catch by tambre on Wednesday April 29, 2026 @10:40AM (#47949106)
It's in experimental only, not unstable or testing. That said I'm surprised it hasn't even caused discussion on debian-devel (sans [0]). I would've thought that at least enough Debian developers run experimental to have noticed and raise the issue, but no. I thought about starting a thread myself but couldn't be bothered.

[0] https://lists.debian.org/debian-devel/2026/04/msg00004.html

Re:Bugs Rust Won't Catch by KnuthIsGod on Wednesday April 29, 2026 @07:23AM (#47946801)
Or use a sane distribution like Arch or Gentoo instead of Ubuntu based systems.
Re:Bugs Rust Won't Catch by erk__ on Wednesday April 29, 2026 @08:05AM (#47947173)
You mean Arch which are currently rewriting their package infrastructure in Rust?
Re:Bugs Rust Won't Catch by dapperdrake on Wednesday April 29, 2026 @12:39PM (#47950833)
Alpine Linux has a better shot at acceptable compile times.

Some FOSS software seems to maximize kernel IO last time I had a Gentoo.

Re:Bugs Rust Won't Catch by cdmckay on Wednesday April 29, 2026 @12:55PM (#47951091)
Or Fedora.

I feel like Fedora has the same pragmatic approach (allows non-free drivers, packages, etc.) and is just as easy to use.

Re:Bugs Rust Won't Catch by oefrha on Wednesday April 29, 2026 @07:15AM (#47946735)
This leaves such a bad taste in my mouth. If you fucking found 44 CVEs with some relatively amateurish ones (I'm no security engineer but even I've done that exact TOCTOU mitigation before) in such a core component of your system a month before 26.04 LTS release (or a couple months if you count from their round 1), surely the response should be "we need to delay this to 28.04 LTS to give it time to mature", not "we'll ship this thing in LTS anyway but leave out the most obviously problematic parts"?

The snap BS wasn't enough to move me since I was largely unaffected once stripping it out, but this might finally convince me to ditch.

Re:Bugs Rust Won't Catch by PunchyHamster on Wednesday April 29, 2026 @07:26AM (#47946819)
Ubuntu has been doing careless shit like that their entire existence, it's nothing new
Re:Bugs Rust Won't Catch by noosphr on Saturday May 02, 2026 @07:35AM (#47985482)
What do you mean that the people who use Debian Unstable as the basis of their OS would break things?
Re:Bugs Rust Won't Catch by 3836293648 on Wednesday April 29, 2026 @10:38AM (#47949089)
It's insane that this is going into an LTS. It's the kind of experiment I'd expect them to play with in a non-LTS and revert in LTSes until it's fully usable, like they did with Wayland being the default, which started in 2017
Re:Bugs Rust Won't Catch by duped on Wednesday April 29, 2026 @09:40AM (#47948341)
This is a people problem and Canonical just isn't good at hiring people
Re:Bugs Rust Won't Catch by kstrauser on Wednesday April 29, 2026 @10:05AM (#47948653)
I’ve gotta agree. Some horror stories were going around about their interview process. It seemed highly optimized to select people willing to put up with insane top-down BS.