News for hackers. Stuff that matters.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Monday September 14, 2026 @10:24AM (#49697392)
I really don't understand why Canonical rushes this. If 'rm' can't remove all possible directory entries, that is a big issue:

  $ podman run --rm -it ubuntu:26.10
  $ apt update -y; apt upgrade -y
  $ rm --version
  rm (uutils coreutils) 0.10.0
  $ gnumkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n')
  $ rm -rf a
  Segmentation fault (core dumped) rm -rf a
  $ ls a
  a
  $ gnurm -rf a
  $ ls a
  ls: cannot access 'a': No such file or directory
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by teekert on Monday September 14, 2026 @10:25AM (#49697411)
Rush? This is an interim release (95% or so only tracks LTS's) that is not even out yet... Go file a bug reports if you have some time.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mixmastamyk on Monday September 14, 2026 @11:17AM (#49698403)
I did, and the original dev of the component fixed it within a few days. It was straightforward, a backwards reading of a spec, reordered.

The fix is still sitting unmerged many months later.

This surprised me since I thought the project was in heavy bugfix/compat mode. I won’t touch it until I see some velocity on open bugs.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by baq on Tuesday September 15, 2026 @02:00AM (#49708322)
Fork Ubuntu and threaten their business model, that’ll get their attention.

Only half joking.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by yjftsjthsd-h on Tuesday September 15, 2026 @02:38AM (#49708589)
Ubuntu is the fork; just use Debian.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tjoff on Tuesday September 15, 2026 @02:43AM (#49708636)
There are plenty of Ubuntu forks?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by geokon on Tuesday September 15, 2026 @04:39AM (#49709538)
There's very little incentive to switch. When people release for Linux they almost always first/only test it works on Ubuntu - hence it's going to be the least buggy. (ex: GOG only seemingly tested games on Ubuntu)

So the switching cost is buggy software. You'd need something radically different that brings enough new features to the table to make it worth it the switch and dealing with bad/non-existant support.

I think something like Nix/Guix but with stable library versions that matches Ubuntu/Debian LTS ones 1-to-1 could get traction

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pessimizer on Tuesday September 15, 2026 @07:49AM (#49711105)
Embrace the lock-in.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by genxy on Tuesday September 15, 2026 @02:14PM (#49716527)
If you still have toes, take some morphine and reload.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by drdexebtjl on Tuesday September 15, 2026 @05:06AM (#49709748)
Then you would have to embrace their bad decisions, such as this one, and if you do, what’s the point?

Everything just needs to run from a container with their expected runtime environment.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jeltz on Tuesday September 15, 2026 @08:18AM (#49711428)
My solution was to stop using Ubuntu and move to Debian.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by liamgm on Tuesday September 15, 2026 @10:28AM (#49713095)
And in that debian install rust unix coreutils as default
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Monday September 14, 2026 @10:30AM (#49697510)
I have. It has been an open bug upstream for years as well.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by teekert on Monday September 14, 2026 @10:40AM (#49697694)
ok, that's concerning, if you post it here I'll vote for it (after confirming).
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by JdeBP on Tuesday September 15, 2026 @04:56AM (#49709674)
The Launchpad bug is https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bu... .

The apparently related bug in the origin project is https://github.com/uutils/coreutils/issues/2949, filed back in 2022 and which sat unmoved for several years until, probably not coincidentally, almost the same time yesterday that this appeared on Hacker News.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jeffbee on Monday September 14, 2026 @11:15AM (#49698367)
Reporting bugs before Ubuntu releases has never worked for me. They always land a bunch of major changes after the supposed "freeze" then they ignore all feedback because of the freeze. It's infuriating.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Monday September 14, 2026 @11:17AM (#49698412)
Glad to hear that I am not alone. I feel like launchpad is totally ignored most of the time.

To get a response on a buggy GNU coreutils patch of theirs [1], I had to mention it in a rust-coreutils bug months later...

[1] https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/215...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jabl on Tuesday September 15, 2026 @02:08AM (#49708378)
I've been a Ubuntu user for about 20 years, and I file bugs every now and then on launchpad. I don't recall any of them ever being fixed.

Maybe the bugs get traction if you have a service contract?

Best to file bugs directly to upstream, but that of course means you should try it on the latest upstream version and not whatever version ubuntu ships, so it's more friction.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by b112 on Tuesday September 15, 2026 @05:51AM (#49710045)
Upstream for much is Debian, but of course Ubuntu forks from testing, and then modifies...

But if you can identify it as a bug in a version in Debian, that's a good place to file, as Ubuntu will get the fix eventually.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gdevenyi on Tuesday September 15, 2026 @06:35AM (#49710366)
Reporting bugs _at all_ in Ubuntu has never worked for me.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @02:05AM (#49708364)
My experience is that filing bug reports to ubuntu is a complete waste of time. Not sure if it's different for paying users.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Symbiote on Tuesday September 15, 2026 @02:28AM (#49708512)
The bug report I filed several months ago hasn't been looked at. Many of these utilities were released and made the default for Ubuntu 26.04 LTS!

There's a whole load of basic bugs reported and ignored:

https://bugs.launchpad.net/ubuntu/+source/rust-coreutils

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rwmj on Tuesday September 15, 2026 @03:29AM (#49709008)
They eventually fixed the one where it didn't sort properly, but it tooks months: https://github.com/uutils/coreutils/issues/12253 https://github.com/uutils/coreutils/issues/12912
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by oefrha on Tuesday September 15, 2026 @04:49AM (#49709621)
This is certainly not just affecting interim releases. Ubuntu 26.04.1 has been released but is currently held back from do-release-upgrade for the LTS channel (which IIRC is unusual for a LTS's .1 release) due to rust-coreutils issue:

> Users of Ubuntu 24.04 LTS will be offered an automatic upgrade to 26.04.1 LTS via Update Manager a couple of weeks following this release after some planned backports to address regressions in a recent version of rust-coreutils.

https://discourse.ubuntu.com/t/ubuntu-26-04-1-lts-released/8...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mort96 on Tuesday September 15, 2026 @05:54AM (#49710064)
This is what made me move away from Ubuntu. Use LTS and encounter issues with outdated packages? "Well duh, you're supposed to upgrade to interim releases if you need remotely up to date software". Use interim releases and encounter bugs? "Well duh, it's an interim release. Of course it's a buggy mess, nobody uses those"

Every Fedora release is intended to be solid and they come out twice a year.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by here_to_learn on Tuesday September 15, 2026 @09:32AM (#49712289)
I moved to Fedora from Ubuntu about a year ago for my laptop. My main motivation was not be defaulted to snap packages. I have had a great experience i.e it gets out of the way and it doesn't fall apart when I update stuff. I was worried about SELinux but find Fedoras defaults just fine and intuitive.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dirtikiti on Thursday September 17, 2026 @12:23AM (#49736378)
Keep using it, there's tons of bugs for you to find in Fedora.

My favorite was a system-upgrade that installed broken video drivers, as recently as late 30x releases.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mkj on Wednesday September 16, 2026 @12:31AM (#49722107)
The 26.04.01 upgrade LTS is delayed from it too, not just interim releases.

https://lists.ubuntu.com/archives/ubuntu-announce/2026-Augus...

> Users of Ubuntu 24.04 LTS will be offered an automatic upgrade to 26.04.1 LTS via Update Manager a couple of weeks following this release after some planned backports to address regressions in a recent version of rust-coreutils.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by amelius on Monday September 14, 2026 @10:45AM (#49697784)
Let them first fix Snap.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 0x696C6961 on Monday September 14, 2026 @08:02PM (#49705949)
They need to kill snap ...
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by cute_boi on Tuesday September 15, 2026 @12:16AM (#49707634)
Yes, please. Linux distros is better with macos approach. And making appimage first class makes a lot of sense.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by petre on Tuesday September 15, 2026 @12:31AM (#49707727)
I'll avoid it at this point anyway. The Rust coreutils is another reason for that. Snap, monetizing updates, telemetry, enough is enough.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by voakbasda on Tuesday September 15, 2026 @12:57AM (#49707902)
Yup. After almost 20 years, I have had enough of their crap. All of my new machines are getting Debian. Can’t wait until I am free of Ubuntu.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tancop on Tuesday September 15, 2026 @01:54AM (#49708285)
Appimages are bloated and unreliable. You can't guarantee that your app will run on any machine because it might depend on different system libraries.

Flatpak uses shared stable runtimes that are the same everywhere and don't take up space more than once. It also comes with a native update system and sandboxing. Snap is the same thing but worse.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by suby on Tuesday September 15, 2026 @02:53AM (#49708715)
My problem with flatpak is that the underlying runtime has a limited lifespan. I used the Sublime Text 3 flatpak for many years, and it was deprecated a few months ago because the runtime it was using was no longer supported. This caused people to update the flatpak to Sublime 4, which is good, but I only have a license for 3. In the end I just downloaded the binary for 3 from their website, and it still just worked. Flatpak still doesn't save you from bitrot.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by ChocolateGod on Tuesday September 15, 2026 @02:33AM (#49708547)
> Snap is the same thing but worse

IIRC Snap relies heavily on AppArmor for sandboxing, so on anything non-Ubuntu the sandboxing is non-existent.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by novafunc on Tuesday September 15, 2026 @07:48AM (#49711100)
There's a project called "anylinux appimages" that aims to make the most compatible appimages. They also use DwarFS for faster opening and smaller file sizes.

See: https://pkgforge-dev.github.io/Anylinux-AppImages/

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Samueru on Thursday September 17, 2026 @07:00AM (#49739015)
> Flatpak uses shared stable runtimes that are the same everywhere and don't take up space more than once.

https://pkgforge-dev.github.io/Anylinux-AppImages/disk-usage...

Also flatpak runtimes are NOT stable, they do nonsense like this: https://www.reddit.com/r/linuxquestions/comments/1pwgdwb/gpu...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by ChocolateGod on Tuesday September 15, 2026 @02:32AM (#49708539)
AppImages do not work anywhere close to how macOSs .apps do, and even if they did the approach isn't correct for how things work on Linux.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @02:10AM (#49708389)
I think ubuntu wants to kill desktop linux. No other explaination of why they push firefox inside snap, which then proceeds to constantly crash, when firefox used normally works completely fine.

I haven't tried chromium but I presume it's the same issue.

At work I'm forced to use ubuntu and I placed snapd on hold and added mozilla's own apt repository to my configuration to get firefox.

At least in the past few months the dbus crashes (been using systemd on debian for several years just fine, this never happened) that render the system unusable and un-rebootable have stopped… I guess when my company will decide to upgrade to 26.04 there will be more instability and problems.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by zelphirkalt on Tuesday September 15, 2026 @03:18AM (#49708921)
Firefox installed as a snap feels sluggish to me. When I install a Ubuntu system, the first thing I do is to uninstall any snap and install the apt versions of things, possibly adding official PPAs or using Guix to install software.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mrheosuper on Tuesday September 15, 2026 @04:35AM (#49709497)
why bother with ubuntu at all ? If you want ubuntu but without snap out of the box, Zorin is 1 option. Or if you also hate gnome, linux mint.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by zelphirkalt on Tuesday September 15, 2026 @05:38AM (#49709953)
Indeed. Thought not in all cases I can decide what OS to use. An employer might prescribe which one to use. And any distro will be better than being forced to use Windows.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by IlikeMadison on Tuesday September 15, 2026 @04:45AM (#49709590)
sandboxing a browser makes total sense. my firefox and chromium running as snaps never crashed a single time for as long as I can remember, and I use both every day, at the same time.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mhluongo on Tuesday September 15, 2026 @07:22AM (#49710835)
Both have performance issues when installed as snaps across my 24.04 and 26.04 machines.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @10:45AM (#49713348)
I sandbox with firejail. There is no reason to use snaps. Also in firejail I never experienced a crash.

> never crashed a single time

I'm very happy for you. How does that help the people who do encounter issues?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dirtikiti on Thursday September 17, 2026 @12:27AM (#49736410)
Browsers literally sandbox their own tabs.

And the entire Linux user space is already sandboxed by design. This is why you type sudo.

If os and software developers actually designed with the Linux filesystem in mind, there would be no need for Flatpaks and Snaps and AppImages.

There's a whole directory for user applications and their libraries.

/usr

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by fn-mote on Tuesday September 15, 2026 @07:43AM (#49711055)
> I haven't tried chromium but I presume it's the same issue

No issues with snap Chromium.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by wafflemaker on Wednesday September 16, 2026 @02:46AM (#49722901)
Thanks to snap I've learned of Librewolf. Couldn't install non snap Firefox, so just got ff fork instead.

Also, after a system update all PPAs (including Librewolf) got turned off, so I went like a year without updating the browser. Fun stuff.

Also, snap is now partially fixed. It used to take all your drive space with old versions of snaps. You needed a special script to remove them automatically.

Now there's no more than 2(?) old versions of snaps anytime. Progress!

But not to complain too much, Ubuntu still kind of works. I moved my laptop to Fedora, and almost did it with the desktop, but learned of Librewolf. Should probably remove the fedora root and home at some point. Don't remember any issues that were not caused by me (other than snaps). Compared to Windows with it's auto updates when you need PC for sth critical, ads everywhere and this annoying way of installing software not from terminal and having to update it manually separate from system updates. Ubuntu did a lot for Linux, maybe more it's community than canonical, but it will always have a place in my heart.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Wednesday September 16, 2026 @04:03AM (#49723369)
It is a good idea, unfortunately poorly executed.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tjoff on Tuesday September 15, 2026 @01:01AM (#49707929)
There is no reason for anyone on any distro to use snap.

It will die so just leave it alone.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dark-star on Monday September 14, 2026 @10:48AM (#49697845)
yeah, this is a bug. And yes, it should be fixed. But I don't think it will affect many users, I mean who has a 32000 -evels deep directory on their system?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by secondcoming on Monday September 14, 2026 @10:51AM (#49697902)
That way of thinking just means it'll never be fixed
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by abirch on Monday September 14, 2026 @10:59AM (#49698059)
"The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it." Linus Torvalds
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dfox on Monday September 14, 2026 @11:21AM (#49698499)
The problem there is that this is exactly the class of bug that does not exist in GNU coreutils because of philosophy of that project. Non-existence of such bugs proves that the impementation is not copied from AT&T code.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @02:54AM (#49708729)
It's complicated to do it yourself when upstream won't accept your code.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Monday September 14, 2026 @10:57AM (#49698012)
Nah, people should (and do) fix small issues as well as big issues. Lying about the scale of issues and calling them "big" when they aren't just leads to no ability to prioritize or evaluate.

Incidentally someone submitted a PR for this issue about 3 hours before the first comment about it in this thread - https://github.com/uutils/coreutils/pull/14554 (and 2 hours before this link was submitted to HN)

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by sylvestre on Friday September 18, 2026 @01:29PM (#49757539)
Because Collin reported it in Ubuntu too :)
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 7bit on Monday September 14, 2026 @11:00AM (#49698071)
What approach would you suggest for priorisation of tickets?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by secondcoming on Monday September 14, 2026 @11:12AM (#49698304)
Ideally there should have been no tickets at all if all that's happening is a program being ported to another language.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Monday September 14, 2026 @11:18AM (#49698438)
This isn't a port - it's a re-implementation without any use of the original source.

That's also not all that's happening. It's also making improvements like better internalization support, better error messages, and a small handful of other extensions.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Monday September 14, 2026 @11:27AM (#49698594)
I have had to tell them repeatedly to stop copying tests verbatim, including the original comments from GNU coreutils. So I doubt this is true, which is frustrating.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by leni536 on Tuesday September 15, 2026 @04:03AM (#49709259)
What's wrong with them using the coreutils tests?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by RichardLake on Tuesday September 15, 2026 @04:47AM (#49709604)
If they followed the license nothing. My uninformed knowledge is that the rust based rewrite is MIT, the originals are GPL, and you can't include GPL code in a MIT licensed project without making it GPL.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by leni536 on Tuesday September 15, 2026 @05:07AM (#49709749)
> and you can't include GPL code in a MIT licensed project without making it GPL.

Why is that? The tests are not linked to the distributed binaries. You can also distribute project sources with mixed licenses.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by heinrich5991 on Tuesday September 15, 2026 @05:20AM (#49709841)
But you should be able to use a GPL test suite on an MIT-licensed program (or even a proprietary one, without the program needing to be under the GPL.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Tuesday September 15, 2026 @05:25PM (#49719107)
Ehh... Technically yes but when you don't own the copyright on the tests you need to be very careful against creating derivative works, and you need to preserve both licenses in the distributed source.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mrkdkirlwkfkf on Monday September 14, 2026 @11:42PM (#49707442)
Capitalism.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tosti on Monday September 14, 2026 @12:46PM (#49699894)
What programmer or programming language can't iterate a loop more than 32000 times?!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Ygg2 on Monday September 14, 2026 @01:02PM (#49700245)
When triaging an issue you have to prioritise. Do you fix a problem that affects 2-3 people or one that may affect thousands?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by nh2 on Tuesday September 15, 2026 @01:57AM (#49708302)
The point is that such bugs shouldn't exist in the first place.

Using recursion on unbounded inputs on a programming language that doesn't support that (which are most) is an extremely classical mistake that really should be known to all programmers, especially those of low level languages that care about safety.

Every time you call something recursively you should be thinking "how deep is this?".

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Ygg2 on Tuesday September 15, 2026 @08:31AM (#49711551)
> The point is that such bugs shouldn't exist in the first place.

That's true of every bug, but you don't have infinite time or manpower, so how do you prioritise?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by BHSPitMonkey on Tuesday September 15, 2026 @02:42AM (#49708626)
By that logic, why even spend effort migrating from a known-working implementation to one which is known to have outstanding bugs that there isn't enough bandwidth to fix?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dboreham on Tuesday September 15, 2026 @05:31AM (#49709921)
Fashion.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Ygg2 on Tuesday September 15, 2026 @08:35AM (#49711594)
Hard to say, but there are legitimate reasons. One of which being they think Rust is growing while C is a shrinking language. Other could be safety (yes, yes the audit did surface bugs). Or even that having a single lib work seamlessly on Windows/Linux/MacOS/Redux/Web.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by IshKebab on Monday September 14, 2026 @12:53PM (#49700057)
It's a stack overflow which means it's using recursion and for historical reasons that don't make sense any more, stacks are teeny tiny on 64-bit Linux - apparently only 8 MB on Linux! I'm not sure why they don't raise it to something reasonable like 4 GB. I guess because they want consistency with 32-bit? Maybe we can finally change it if/when they phase out support for 32-bit Linux. Apparently it might not be that far away:

https://lwn.net/Articles/1035727/

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tosti on Monday September 14, 2026 @12:57PM (#49700147)
OIC. Rust doesn't guarantee optimizing tail recursion. How unfortunate for a language that's getting widespread adoption.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Monday September 14, 2026 @01:40PM (#49700850)
For what it's worth there's reasonably active [1] work on implementing opt-in guaranteed tail calls - but it's not particularly fast going. LLVM (the backend rust uses) needs better support for musttail (e.g. some architectures just don't support it [2]).

[1] https://github.com/rust-lang/rust/issues/112788

[2] https://github.com/rust-lang/rust/issues/153827

By-default guaranteed tail calls really isn't rust's style, because it means subtle changes (introducing a destructor, re-ordering code, etc) can change semantics without you realizing it. If you want to guarantee that a call can't allocate a new stack frame you should have to say it.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by lioeters on Monday September 14, 2026 @02:00PM (#49701154)
Not so familiar with this area, but isn't the existing behavior of implicitly creating new stacks more of a problem than implicit tail-call elimination? Seems the latter is a kind of compiler-level optimization, of which there are already many (I think) that change the semantics internally but guarantee the outward behavior stays the same.

But I can understand the preference for an explicit opt-in, to make clear that it is enforced and not assumed.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Monday September 14, 2026 @02:10PM (#49701311)
> implicitly creating new stacks

I'd argue that it's explicit - that's what a function call does and you don't have implicit function calls in rust.

> Seems the latter is a kind of compiler-level optimization, of which there are already many (I think) that change the semantics internally but guarantee the outward behavior stays the same.

What you're asking for here already exists. Tail calls might be optimized into not allocating extra stack frames, the rust compiler just doesn't guarantee that it will perform that optimization (and almost certainly won't when code is compiled without optimizations... for instance).

What people want is the semantic guarantee that the stack frame won't be allocated. Not just a compiler that often performs the optimization. Otherwise you can't be sure that your code will keep working with new compiler flags/versions/architectures/... You could say "whenever the code is the right shape we'll guarantee the optimization" (C++ famously did this for things like copy elision)... but now the shape of code comes with non-obvious semantic guarantees and that's not rust's style. Hence the proposal for a keyword instead.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by lioeters on Monday September 14, 2026 @02:24PM (#49701559)
I see it, certain algorithms need guaranteed tail-call elimination, otherwise they are too inefficient and must be manually unrolled or rewritten to avoid blowing the stack. So a compiler optimization that is "nice to have" is not good enough.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by clhodapp on Monday September 14, 2026 @11:32PM (#49707391)
No algorithm requires tail-call elimination in a general-purpose language with imperative mutability. It's just another way to express iteration.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by spider-mario on Tuesday September 15, 2026 @04:56AM (#49709669)
Sure, but mutual recursion might require `goto` for example. Or an explicit state machine.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by clhodapp on Tuesday September 15, 2026 @05:17AM (#49709822)
I can see how it might require an explicit state machine (keep a mutable state number and switch over the inlined bodies of what could be functions), but I'm not seeing how it could require `goto`.

Are there more-complex relationships that might require it?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by spider-mario on Tuesday September 15, 2026 @07:03AM (#49710609)
I meant it more in the sense that “you need one or the other” rather than “some cases require one and some other cases require the other”.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jmalicki on Monday September 14, 2026 @10:43PM (#49707048)
> because it means subtle changes (introducing a destructor, re-ordering code, etc) can change semantics without you realizing it.

No, it won't change semantics - if you say @musttail or similar, it will simply fail to compile if you, say, introduce a destructor - the semantics will not subtly change.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Monday September 14, 2026 @10:47PM (#49707073)
Uh, yes, if you guarantee the semantics only when the code explicitly opts in and not by default then semantics will not subtly change, that is the point of my comment
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jmalicki on Monday September 14, 2026 @11:32PM (#49707387)
It's not a change in semantics of compiled code. It is only a change of whether or not the code will compile.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Tuesday September 15, 2026 @06:50AM (#49710487)
Guaranteeing an optimization that otherwise only might run is a change in semantics. The attribute doesn't allow (in any sensible language) the code to simply not compile because the optimizer doesn't feel like it today (or you compiled with -O0), it forces the compiler to not allocate a stack frame wherever the code fits the structure that makes that definitely possible and fails to compile wherever it doesn't (even if after other optimization passes it happens to fit a structure that makes it possible).
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by afdbcreid on Tuesday September 15, 2026 @12:25AM (#49707689)
Incorrect. `become` does change drop order - https://play.rust-lang.org/?version=nightly&mode=debug&editi....
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jmalicki on Tuesday September 15, 2026 @12:52AM (#49707857)
That's not implementing tail calls breaks things, that's bad design of implementing tail calls breaking things.

The whole idea of "let's change semantics to make it easier" is dumb.

If you want guaranteed tail calls, change your code until it works.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by IshKebab on Monday September 14, 2026 @05:05PM (#49704003)
Do any widely used languages guarantee tail call optimization? It's a pretty niche feature.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Monday September 14, 2026 @05:13PM (#49704113)
Scala, ocaml, racket, clojure, zig.

For recursion only kotlin.

(For most of these only with syntax specifying it)

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by lioeters on Tuesday September 15, 2026 @09:19AM (#49712093)
How interesting. I'd seen LISP(y) implementations like Scheme guarantee tail-call since recursion is a very common technique in that language family. But I didn't know Zig supported it.

https://ziglang.org/documentation/master/#call

They have an @call built-in that guarantees: always/never tail, as well as always/never inline. That's neat, I can see how that would be useful in various situations.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by chuckadams on Wednesday September 16, 2026 @10:57AM (#49728037)
JavaScript too, but only implemented in JavaScriptCore, so basically just Safari and Bun.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @10:05AM (#49712722)
Depends on how widely we consider Scheme and Raket adoption in CS curriculum.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by shiomiru on Tuesday September 15, 2026 @04:38AM (#49709532)
I don't think that's related? The bug alluded to looks something like

    function rm(node) {
        for (const child of ls(node))
            rm(child);
        unlink(node);
    }
and no amount of tail call optimization will save you here, because this isn't tail recursion. Of course you could rewrite it using an explicit stack + tail recursion, but then you might as well be using a while loop.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tosti on Wednesday September 16, 2026 @04:23AM (#49723511)
So it's enumerating all the subdirectories first and unlinks the tree afterwards?

I get that this isn't transactional and inherently prone to race conditions, but if this is indeed the problem, it's rediculous. A single while loop could do the job correctly and use less RAM. It'd probably also be faster. But that wouldn't be a rusty thing to do?

I look at code from the heirloom project and, despite its warts, I think we've lost something in the past 45 years or so.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by shiomiru on Thursday September 17, 2026 @09:09AM (#49740227)
> A single while loop could do the job correctly and use less RAM. It'd probably also be faster. But that wouldn't be a rusty thing to do?

No, the "single while loop" is just harder to implement than a naive recursion, because recursion is a natural way to implement tree traversal. With a while loop, you need an explicit stack, which is more complex.

(A stackless traversal seems unrealistic here, as getting the succeeding node would be too expensive. Not that I've tried...)

> I look at code from the heirloom project and, despite its warts, I think we've lost something in the past 45 years or so.

I've just tried and heirloom rm segfaults on the same test too. Which is no wonder, seeing how that code also recurses.

(It's mentioned somewhere else in the thread, but this is exactly the reason why GNU had to specify "no hard limits" as a policy. Unix used to be full of such bugs.)

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tosti on Friday September 18, 2026 @03:09PM (#49758806)
Thank you for clearing that up. Good points!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by ploxiln on Tuesday September 15, 2026 @12:10AM (#49707597)
8MB is the default per-thread stack size from glibc, also seems to be the default "ulimit" from pam or the kernel, I'm not sure. So for the main/default thread (or if not using threads) the process can use setrlimit() and for threads it can use pthread_attr_setstacksize() to get bigger stacks if it knows it may need them.

8MB is pretty huge though; musl libc is famous for defaulting to much smaller per-thread stack size of 128KB (to avoid over-committing lots of memory when there are many threads - the main dev is really principled/opinionated on this topic, but again there are a few ways for applications to explicitly size their stacks as large as they need). Linux kernel threads get a bit less than 16KB!

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by IshKebab on Tuesday September 15, 2026 @10:18AM (#49712934)
8MB is huge compared to the stacks we used to have when address spaces were 32-bit, but it's tiny compared to how much memory we can actually make use of now. The only real argument I can think of for having such a small stack is that large stack usage is often indicative of an infinite recursion bug and it catches them earlier.

But I don't really buy that for the same reason most programming languages don't limit loops to 8 million iterations (or whatever) by default - it would make catching infinite loop bugs easier!

I say most, because I know of at least one language that did do that - QuakeC! It made lots of sense in that context though.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by hulitu on Tuesday September 15, 2026 @01:13AM (#49707993)
Rust ? Because of ... memory safety. /s
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by geokon on Tuesday September 15, 2026 @02:46AM (#49708656)
It's less about the specific issue and more indicative of bad/insufficient test coverage
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by throw0101a on Tuesday September 15, 2026 @07:14AM (#49710731)
> But I don't think it will affect many users, I mean who has a 32000 -evels deep directory on their system?

When the GNU coreutils version doesn't have this bug and thus affects zero users, why should I bother with the Rust version?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by liamgm on Tuesday September 15, 2026 @10:36AM (#49713207)
AI agent needs , rust memory safety , wasm , parralel task
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by monegator on Tuesday September 15, 2026 @08:34AM (#49711580)
from a ground-up rewrite, in a memory safe language i expect at the very least

- A meaningful error

- not a segfault

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by IshKebab on Monday September 14, 2026 @12:47PM (#49699914)
I mean, that should work... but you can see why that would be considered low priority right?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by lynx97 on Tuesday September 15, 2026 @01:06AM (#49707967)
Wow! Memory safety and such... Reminds me when a friend of mine wrote in IRC long time ago: "Hmm, tail just segfaulted." When I asked "Are you on Hurd?" he just replied "Yes."
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by froh on Tuesday September 15, 2026 @03:11AM (#49708858)
to enable GPL free embedded Ubuntu, field tested on all platforms (because it happens to be the default).
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by barbarkaragul on Tuesday September 15, 2026 @03:23AM (#49708960)
Hi, this is not a one bug.when the change app flags not working or not happening. I was measured with bsd and busybox.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by znpy on Tuesday September 15, 2026 @03:54AM (#49709193)
And that’s why i keep ubuntu far from my computers…
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by monegator on Tuesday September 15, 2026 @04:24AM (#49709415)
but it segfaulted in a memory safe way.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by m00dy on Tuesday September 15, 2026 @07:46AM (#49711084)
sarcasm detected here :D
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by stevefan1999 on Wednesday September 16, 2026 @06:38AM (#49724503)
I don't think this is a sarcasm, as a long standing Rust user myself, I don't think the community should preach out by "memory safety" -- rather the structural change in coding mindset and new ideas such as ADT and generic programming, while retaining mostly zero-cost like C++ without the bearing of C++ complexity (that includes a compiler that spits out 300 lines of compiler error just because I missed one <).

Memory safety is just what Rust inherited from C++ smart pointers with a stronger linear/affine type system twist, especially regarding move semantics, cloning and borrowing rules. What makes it powerful is the various language features it also incorporated from Cilk/C#/OCaml/Haskell.

Right now Rust and Zig is my two favourite middle ground. It is sad that Zig went completely sod-off-to-LLM mode but the most devastating aspect of Zig is that it is way too Linux focused. A lot of the code in Zig I cannot compile on Windows, plus the major changes to IO interface and the colorless function fiasco is really making me question the stability of Zig.

This recent event led me to displace Zig and replaced it with Nim, which emits C code instead and having a really powerful algebraic language system, while getting some benefits of Rust such as scoped smart pointer (I think they call it ORC), or using simple mark and sweep arena collector or even full-blown Boehm GC.

Right now I'm trying to create a distribution of Nim in a single binary (with musl and mingw packed together) and using tcc as the backend, all in a single binary with Rust and an internal project to convert wasm 3.0 and wasi proposal 1 modules into Rust code, which the Nim compiler and TCC are both compiled to WASIp1 first, then term-rewritten/transpiled to Rust (think w2c2 or wasm2c, but targets Rust, I found some nice structuralism of Rust and wasm lately)

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Friday September 18, 2026 @04:22AM (#49751566)
What new ideas? Standard ML features from 1983?!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by maxhou on Tuesday September 15, 2026 @05:06AM (#49709740)
I tried switching a buildroot based CI server to the 26.04

One Makefile statement triggered a bug in rust ln:

  src/%:
      @ln -sfn $(DIR)/foo src
In parallel build, we would get random failure:

  ln: Already exists
Rewrote that Makefile to work-around it, and ended up with the same kind of bugs with parallel $(INSTALL) -D ...

Tried latest ubuntu 26.10 which supposedly fixes a lot of TOCTOU races in rust coreutils, but no better.

Gave up and switched back to original coreutils.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by PunchyHamster on Tuesday September 15, 2026 @05:19AM (#49709837)
It's entirely aisine and makes me avoid Ubuntu every time it is possible. And it is repeated offence, Ubuntu always tried to push the envelope in worst place and way possible
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Perepiska on Tuesday September 15, 2026 @05:34AM (#49709932)
It can fail blazingly fast!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by ganelonhb on Tuesday September 15, 2026 @11:48PM (#49721879)
Am I the only one cynical enough to feel physical pain when I see “blazing fast” in a README? It’s like a dog whistle for “hey everybody, I’m kinda annoying!”
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Perepiska on Sunday September 20, 2026 @07:40PM (#49781305)
Not pain but annoying fly.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by nottorp on Tuesday September 15, 2026 @05:41AM (#49709973)
But this is totally not a memory ownership bug! It's some other kind of bug!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by HackerThemAll on Tuesday September 15, 2026 @05:45AM (#49710000)
While I supported that idea of Rust coreutils, this your experiment showed me how bad it is. My results are totally different, but not what I expected (edited out long strings of "a/a/a" for brevity). I wouldn't call it stable...

  root@71a8c5a6c5e3:/# mkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n')
  mkdir: File name too long
  root@71a8c5a6c5e3:/# gnumkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n')
  gnumkdir: cannot create directory 'a/a/a/.../a/a': File name too long
  root@71a8c5a6c5e3:/# gnumkdir -p $(yes a/ | head -n $((3 * 1024)) | tr -d '\n')
  root@71a8c5a6c5e3:/# rm -rf a
  rm: cannot remove 'a/a/a/.../a/a/a': Directory not empty
  root@71a8c5a6c5e3:/# gnurm -rf a
  root@71a8c5a6c5e3:/# rm -rf a
  root@71a8c5a6c5e3:/#
And then they plan to move to a new Rust-based NTP. No comment...
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by kd913 on Tuesday September 15, 2026 @06:33AM (#49710351)
I wouldn’t judge the ntpd-rs move from this. Have been running it for 9 months or so with a nts pool in ntp server mode on my pi5. Been rock solid.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by flossly on Tuesday September 15, 2026 @06:36AM (#49710372)
Ubuntu is free. But Canonical is for profit. In these cases "if you are not paying for the product, you are the product" applies.

Ubuntu users will test this. Once the problems are ironed out, other distros will follow.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tored on Tuesday September 15, 2026 @07:42AM (#49711044)
It is Year of the Linux Desktop, not Year of the Linux Cli.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by ganelonhb on Tuesday September 15, 2026 @11:41PM (#49721838)
Their strategy is basically adopt now, hey now we’re forced to fix it! And it’s disgusting. Frankly, I don’t know how any enterprise users on Ubuntu will be able to forgive this. Well, many businesses are on RHEL and not Ubuntu anyways…
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Malakun on Monday September 14, 2026 @11:00AM (#49698072)
You can use coreutils-from-gnu instead uutils. However since 26.04 build-essential depends on coreutils-from-uutils, it cannot be upgraded while coreutils-from-gnu is installed.

https://bugs.launchpad.net/ubuntu/+source/build-essential/+b...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Monday September 14, 2026 @11:29AM (#49698634)
You can use equivs to create a dummy coreutils-from-uutils package, as mentioned in the responses to that report.

It is frustrating that Canonical has no interest in fixing it, though. It makes it hard to take their claims seriously that you can still use GNU coreutils if you want.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dwattttt on Tuesday September 15, 2026 @02:40AM (#49708606)
You're specifically frustrated about unbounded stack recursion exhausting the stack, triggered by multiple thousands of directories? It doesn't sound like this is about multi-thousand-deep directory structures, it sounds like it's about something else.

Because even diving into it, I would agree with a prioritisation decision that puts this bug down the bottom of a priority list.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @06:55AM (#49710522)
This isn't the first issue with uutils.

Canonical is just rushing the switch because they want to get rid of software with GPLv3 license, not because there is any technical merit for doing so.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by throw0101a on Tuesday September 15, 2026 @07:20AM (#49710809)
If they want the default to be non-GPLv3 Rust-based that's fine, but some of us don't care (and want the same behaviour everywhere, like on RH-based systems we may also have) and they should leave the GNU as an option. Potentially both could be installed at the same time (it's what update-alternatives is for after all).
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @10:44AM (#49713332)
That would work, but they also don't want everybody to switch to the better alternative and nullify their effort.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dwattttt on Tuesday September 15, 2026 @07:29AM (#49710914)
That's a better thing to discuss, and I'd expect there to be better bugs to talk about to go with it. Stack exhaustion in an unrealistic environment should be fixed, but a "stop everything" bug it ain't.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by egorfine on Monday September 14, 2026 @11:30AM (#49698644)
For now you can list dependent packages manually in apt-get install: https://packages.ubuntu.com/resolute/build-essential

But it's clear that Ubuntu will remove coreutils, genuine sudo and other tools from the future versions. It's the direction, it's ideological and thus nor merit nor our feedback will change anything here.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by lioeters on Monday September 14, 2026 @02:06PM (#49701243)
> genuine sudo

That made me curious, it sounds related to this:

Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords - 5 months ago (413 comments)

https://news.ycombinator.com/item?id=47464134

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by egorfine on Monday September 14, 2026 @02:52PM (#49702023)
nah

i was referring to their counterfeit sudo emulator written in rust. It's called "sudo-rs" afair.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by lioeters on Monday September 14, 2026 @03:12PM (#49702345)
Ah I see, found it.

Security issues discovered in sudo-rs - https://lists.debian.org/debian-security-announce/2025/msg00...

Sudo-Rs Affected by Multiple Security Vulnerabilities - https://www.phoronix.com/news/sudo-rs-security-ubuntu-25.10

Sudo-rs enables password feedback by default - https://www.phoronix.com/news/sudo-rs-password-feedback

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by throw0101a on Tuesday September 15, 2026 @07:18AM (#49710785)
> For now you can list dependent packages manually in apt-get install: https://packages.ubuntu.com/resolute/build-essential

I'm don't quite understand what this means: you can say that you want GNU coreutils when you install build-essential? How does that work on the CLI?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by perarneng on Monday September 14, 2026 @12:07PM (#49699250)
Better security, what's not to like. It's ridiculous to be against this in these times when we need all security we can get. So what if there is a minor incompatibility, can be fixe in no time. If we do a snapshot in time and count vounerabillities in the C codebase vs Rust im pretty sure who will have more in 5 years. It's just the nature of C codebases. C is a nice language but it was never designed with memory safety in mind. It was designed to be flexible and portable. It's a great language. Rust was designed to be fast and memory safe because it had 20+ years of C++ and C experience to learn from.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by stouset on Monday September 14, 2026 @12:33PM (#49699685)
There have been twelve CVEs reported against coreutils in the past twenty years.

There were forty-four against this project in just the last audit.

I am all for RIIR in cases where it makes sense. This does not even remotely appear to be one of them. By all appearances the quality of the code is extremely amateurish at best. coreutils has not been a significant source of vulnerabilities in the past, and they’re replacing it with code written by amateurs that performs worse and already has a worse security track record.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Ygg2 on Monday September 14, 2026 @02:00PM (#49701147)
> There were forty-four against this project in just the last audit.

Was there an audit against coreutils? If not, it's not really apple-to-apple comparison.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by stouset on Monday September 14, 2026 @04:56PM (#49703886)
It doesn’t even matter. The sheer disparity in vulnerabilities over twenty years versus one year is impossible to hand-wave away.

We are talking about fourfold more CVEs over a twentyfold reduction in time.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gpm on Monday September 14, 2026 @06:42PM (#49705246)
It really does matter. I don't know enough about this specific case, but multiple order of magnitude differences in CVE numbers are frequently explained by different policies towards finding and assigning CVEs in many many cases.

Absent more information the default should be to hand wave it away as probably such a difference. CVE counts are not a even slightly reliable metric.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Monday September 14, 2026 @08:21PM (#49706095)
Most of them are TOCTOU races or improperly following symbolic links. For example, uutils mkfifo(1) would create a world-readable and writable FIFO before using chmod(2) to restrict its permissions. Another user could replace that file with a symbolic link between the mkfifo(3) call and the chmod(2) to change the permissions of arbitrary files [1].

Other ones I find concerning are that you could also bypass '-- no-preserve-root' with a symbolic link to root [2]. Or by using paths equivalent to "/", e.g., "/../" [3]. Historically, GNU coreutils has been pretty good with symbolic links and avoiding TOCTOU races. The only notable one I can remember is a chmod(1) bug [4].

I agree with your general point that the number of CVEs is a useless metric, though.

[1] https://nvd.nist.gov/vuln/detail/cve-2026-35352 [2] https://nvd.nist.gov/vuln/detail/cve-2026-35349 [3] https://nvd.nist.gov/vuln/detail/cve-2026-35338 [4] https://github.com/coreutils/coreutils/commit/425b8a2f534fe0...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Arcuru on Monday September 14, 2026 @11:31AM (#49698674)
Has the code quality in that repo gotten to a good point then? I haven't followed it much, but last I looked[1] (which was a few years ago) almost every tool I looked at in detail had pretty bad performance or correctness issues.

[1] https://jackson.dev/post/rust-coreutils-dd/

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by egorfine on Monday September 14, 2026 @11:43AM (#49698880)
The reason for existence of uutils is ideological, not technical. Thus code quality is of no use for the objective.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by stouset on Monday September 14, 2026 @12:33PM (#49699664)
I’m a huge proponent of Rust and generally lean a lot closer to the RIIR mentality than most, but this effort seems to be such a waste of effort and resources.

There have been a dozen CVEs reported against all of coreutils in the past twenty years. The most recent audit of uutils-coreutils turned up forty-four CVEs.

By all appearances they’re replacing battle-tested and fundamental tooling which hasn’t been a problem with extremely amateurish Rust. The threading highlighted in the linked post above seems pretty egregious.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by egorfine on Monday September 14, 2026 @12:59PM (#49700191)
Same here. Love Rust. Hate rust rewrites.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by noosphr on Tuesday September 15, 2026 @02:39AM (#49708597)
The worst thing about rust are the people using it.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @03:01AM (#49708780)
My impression is that go developers moved to rust.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @03:29AM (#49709011)
I doubt it, as Rust approach to language design is the antithesis of Go's culture.

I would appreciate Go much more otherwise.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @03:26AM (#49708986)
Can vouch for the sentiment, hence why regardless of the ranting, I am quite supportive of whatever helps to improve C and C++ security story.

Also for Rust based rewrites, they could start by bootstraping Rust compiler itself, dependent on C++ to start it.

They don't do it, because even though LLVM and GCC are written in C++, a pure Rust compiler would not scale to the same level of contributions, and existing capabilities.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pantalaimon on Tuesday September 15, 2026 @04:53AM (#49709657)
I think this is more about the licence, the Rust rewrite just makes it easier to swallow/gain contributors.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by torginus on Tuesday September 15, 2026 @02:19PM (#49716602)
Yes, these proclamations of Rust devs that 'the future belongs to us', aren't getting any new fans for the language. Here's my rebuttal:

YOU have proclaimed the language to be as fast as C while being safe. YOU need to prove it. Think of this as an OPPORTUNITY to PROVE that Rust can walk the walk, and you can make Rust coreutils as fast as the C one. Think hard about how you can model low level Linux constructs safely. Fix your libs. Fix the compiler. This is the yardstick you need to meet. You are making free software, and the thing about it is users are free to choose otherwise. YOU need to prove that Rust is just as fast and lightweight as C, and once you do, we'll be happy to adopt.

Right now, dear Rust devs, what you are doing is the same as AI companies are doing - you're trying to usurp power based on extremely nebulous conjured threats. Nobody likes being threatened.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tcfhgj on Monday September 14, 2026 @08:21PM (#49706092)
I bet you don't know the reason for existence
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by timcobb on Tuesday September 15, 2026 @07:44AM (#49711059)
> The reason for existence of uutils is ideological, not technical.

which ideology? Are people saying that there's an ideology of pushing rust for things without concern for quality? Sincere question, because I'm seeing that on this thread and I wasn't aware that that was a thing beyond the "re-write it in Rust" meme.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pessimizer on Tuesday September 15, 2026 @07:54AM (#49711167)
Rewrite it in anything that isn't GPL.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by timcobb on Tuesday September 15, 2026 @01:20PM (#49715705)
With the motivation of then being able to use it in closed or non-GPL products down the line?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jeltz on Tuesday September 15, 2026 @08:23AM (#49711476)
> Are people saying that there's an ideology of pushing rust for things without concern for quality?

Yes, there is. There are people who genuinely think quality does not matter as log as it is written in Rust as Rust is memory safe.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by timcobb on Tuesday September 15, 2026 @10:22AM (#49712983)
> There are people who genuinely think quality does not matter as log as it is written in Rust as Rust is memory safe.

Is this hyperbolic? Such people are in leadership places?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by steveklabnik on Tuesday September 15, 2026 @08:51AM (#49711769)
The original authors of uutils do not particularly care about licensing, and the Rust ecosystem defaults to MIT/Apache2. So they chose that.

Many people have decided that this decision supposedly specifically about licensing ideology.

You can make up your mind about which of the two you believe.

See also, for Ubuntu's take on this: https://news.ycombinator.com/item?id=49707948

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Tuesday September 15, 2026 @12:58PM (#49715414)
As I have told the authors privately, I find it quite difficult to take their claim that they "don't care about licensing" seriously. 13/14 of the projects under uutils are relicensing GNU or GPL'd software. The other one, shadow-rs, is totally vibe-coded, and the README mistakenly says the original shadow is GNU software under the GPL, which is neither true. If 14/14 are relicensing, or in that one case, what is thought to be relicensing, the simple explanation is that it is an explicit goal of the project.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by wannabe44 on Wednesday September 16, 2026 @02:09PM (#49730778)
Beside the license thing mentioned, rust folks are obsessed with an idea of memory safety to an extent of discarding every other value in programming. To the extent of considering other choices "immoral". This manifests in their disproportionate initiatives of rewriting otherwise fine programs. Of course this doesn't include copious amounts of unsafe in popular libraries because can't leave any benchmarks defeated. But somehow Go is sinful because multiword data races are theoretically memory unsafe (a property which has led to zero (0) CVEs). This may also be the result of jealousy that something plebian like Go became more popular than their perfectly designed language.

Let's not mention other aspects of security, such as the recent supply chain issue, or the old story of the serde maintainer shipping a binary blob just because...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by steveklabnik on Wednesday September 16, 2026 @03:58PM (#49732110)
> To the extent of considering other choices "immoral".

This is literally an /r/pcj meme.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by wannabe44 on Thursday September 17, 2026 @05:42AM (#49738406)
What is /r/pcj? In any case, memes start due to real world examples.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by estebank on Monday September 14, 2026 @12:04PM (#49699189)
> last I looked[1] (which was a few years ago)

You weren't kidding: it was exactly 4 years ago ("September 13, 2022").

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Freaky on Tuesday September 15, 2026 @08:57AM (#49711849)
Neat. I touched this code about 8 months later to avoid the per-block elapsed() call: https://github.com/uutils/coreutils/commit/cf7b90bbe7cb87099...

Mirrored the way I implemented status=progress in FreeBSD dd, though there the flag was set by a SIGALRM timer: https://freshbsd.org/freebsd/src/commit/4767c42c1146459eb751...

It would appear GNU dd 9.9 still does a call for every block. Low-hanging fruit if anyone fancies it:

     dd if=/dev/zero of=/dev/null count=100000000 status=progress
    51200000000 bytes transferred in 18.644004 secs (2746191200 bytes/sec)

     target/release/dd if=/dev/zero of=/dev/null count=100000000 status=progress
    51200000000 bytes (51 GB, 48 GiB) copied, 20.8772 s, 2.5 GB/s

     gdd if=/dev/zero of=/dev/null count=100000000 status=progress
    51200000000 bytes (51 GB, 48 GiB) copied, 23.6744 s, 2.2 GB/s
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by hk1337 on Monday September 14, 2026 @11:16AM (#49698384)
Was there something wrong with how they are currently written or do they just want the badge that says they converted to Rust?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 01HNNWZ0MV43FF on Monday September 14, 2026 @11:04PM (#49707215)
License. GNU is copyleft and the new thing is permissive.

We might see a fracture open slowly. For me, even AGPL is not enough

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by zahlman on Monday September 14, 2026 @11:34PM (#49707394)
Once they have a more permissive license, cui bono?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @02:00AM (#49708321)
Businesses.

There is a reason all FOSS OS alternatives for embedded systems like Zephyr, NuttX, FreeRTOS, IDF, Arduino,... are not GPL based, while Google has purged Android and ChromeOS from it, with the Linux kernel being the only GPL piece left.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 1718627440 on Tuesday September 15, 2026 @10:34AM (#49713175)
> Arduino,... are not GPL based

Arduino is "just" repacked gcc in a nutshell, so it is GPL-based.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @12:04PM (#49714627)
You need more than a compiler, so it is complicated, and not pure GPL,

https://support.arduino.cc/hc/en-us/articles/4415094490770-L...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 1718627440 on Tuesday September 15, 2026 @12:19PM (#49714852)
I was only thinking about the software, yes. Also a lot of the "Arduino" libraries are not really owned by Arduino, even if they like to attach themself to it, so while it is true what they write about different licenses of the libraries, this what not what I considered to be part of Arduino itself. I was only thinking of the buildtools they release. While these are board specific, these are often "just" a fork of gcc, board-specific linker/image builders, a flasher and the Arduino-build system. Only the latter is what they actually created (arguable not even that: https://arduinohistory.github.io/).
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Flimm on Tuesday September 15, 2026 @01:05AM (#49707948)
Neither. They basically see Rust as the future. They want to be able to attract young contributors and to hire young employees who are excited about Rust and who want the safety features. Bear in mind, the average age of the Linux developer is increasing. They also see technical benefits in Rust. And they are increasing test coverage of both the Rust tools and the tools written in C, IIRC.

My source is this interview with the VP of Engineering at Canonical on this topic: https://corrode.dev/podcast/s05e05-canonical/

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @03:30AM (#49709021)
Interestingly enough, young developers have no issues writing C or C++ when it comes to game development, Pebble, Arduino or ESP-32 coding.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by nottorp on Tuesday September 15, 2026 @05:44AM (#49709996)
Those are more expensive!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @06:03AM (#49710132)
Seriously doubt it, given that there is enough FOSS on those domains as well.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by uecker on Tuesday September 15, 2026 @02:37AM (#49708584)
In reality, I think it much more about taking more control over parts of the ecosystem - the license change is part of it, but also getting rid of the old stubborn communities and maintainers.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Tuesday September 15, 2026 @04:23AM (#49709401)
Canonical hasn't contributed anything to GNU coreutils in the time since the switch was announced, just to be clear.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by phendrenad2 on Monday September 14, 2026 @10:52AM (#49697932)
I don't think people here understand what Ubuntu is. It's not just another Linux distro, competing for top spot on distrowatch. Just look at the official website. It's not even on the homepage, the homepage of ubuntu.com is all about cloud and servers. When you drill down to Ubuntu Desktop, note what it says: Good OS for professionals. Available preinstalled on HP and Dell laptops. Highly secure. Private. Works in the Enterprise.

Your "i hate snaps" criticisms and random jabs are wasted. It's not trying to be what you think it's trying to be.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mid-kid on Monday September 14, 2026 @11:59AM (#49699126)
Ubuntu started out with a slogan claiming "linux for human beings", and it kept that reputation for well over a decade, with a heavy focus on the desktop.

You can split hairs however you want, but this created a legacy, and is why Ubuntu is still one of the top recommended distributions for beginners.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by qwj18 on Monday September 14, 2026 @11:08AM (#49698232)
It shipped Amazon spyware under its cuddly image. It supports AI slop and replacement of software devs by AI.

Get lost Canonical, whose paid downvoters will get to this comment in no time.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by m4rtink on Monday September 14, 2026 @01:02PM (#49700253)
Cool aspirations but I don't think it has significant enterprise deployments compared to RHEL or SLES.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by thesuperbigfrog on Monday September 14, 2026 @08:39PM (#49706219)
It looks like they have a few paying customers: https://technologychecker.io/technology/ubuntu

And they are slightly behind RHEL: https://commandlinux.com/statistics/linux-server-market-shar...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by goodpoint on Monday September 14, 2026 @11:31AM (#49698665)
one more reason to stay away from Ubuntu
[dead]
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jmclnx on Monday September 14, 2026 @10:20AM (#49697334)
Probably true, but the direction Linux is going these days is concerning
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by bigfishrunning on Monday September 14, 2026 @11:03AM (#49698133)
It's important to remember that this is a story about Ubuntu, and not Linux, and they are two very different projects with different motivations.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rvz on Monday September 14, 2026 @11:39AM (#49698816)
It does not matter. Both (Ubuntu [0], and the Linux Kernel [1]) use, build with and in some cases promote using LLMs.

[0] https://discourse.ubuntu.com/t/the-future-of-ai-in-ubuntu/81...

[1] https://lwn.net/Articles/1041694/

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by bigfishrunning on Monday September 14, 2026 @12:36PM (#49699737)
True, and that's a bummer, but it's the decision of the maintainers of those projects to make.

If it goes really sideways, and it may, you can either fork Linux or move away to something like one of the BSDs.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by _ink_ on Monday September 14, 2026 @10:27AM (#49697436)
Care to elaborate?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by amiga386 on Monday September 14, 2026 @10:47AM (#49697815)
GPL -> MIT
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by skrtskrt on Monday September 14, 2026 @10:56AM (#49697989)
Does this actually matter that much for some tools when the kernel is GPL?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by amiga386 on Monday September 14, 2026 @11:13AM (#49698325)
I does. The OP says "Linux" but means "Linux distros", which are made of thousands of "commingled" pieces (i.e. the licence of one piece does not affect the other).

Each piece that becomes MIT means less pressure on corporate users to give back any changes they make, and we'll end back up in the 1980s again where "Amazon Linux" is full of secret-sauce they refuse to publish and makes the base system incompatible with "Google Linux" (or whatever happens to be kicking about), creating deliberate lock-in out of a system that started open. In much the same way that macOS and FreeBSD are divergent today.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by bigstrat2003 on Monday September 14, 2026 @01:11PM (#49700401)
That doesn't matter. Amazon or whoever can add as much secret sauce as they like; people can freely use the original so there's no issue.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by amiga386 on Monday September 14, 2026 @02:33PM (#49701702)
We've balkanized Linux but you're free to use the original (which we are deliberately incompatible with, as is rival #2, rival #3, rival #4, etc. and we're all mutually incompatible with each other)
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by skrtskrt on Monday September 14, 2026 @07:17PM (#49705581)
Amazon and other clouds already patch the hell out of Linux, but they don't distribute physical devices with that Linux on it to anyone, so they don't have to deliver source code either.

I am not totally sure I see the actual concern here, that a company is going to sell devices with a really great `find` implementation but not contribute it upstream?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by amiga386 on Monday September 14, 2026 @09:08PM (#49706470)
In the 1980s and 1990s, there were a number of commercial Unices (SunOS, HP-UX, AIX, IRIX, etc.) Every one of them was incompatible with each other, sometimes subtly, sometimes blatantly. They were all competing against each other and all seemed to encourage you to use their proprietary extensions in your software and deliberately fuck over anyone using any other variants.

What it meant was a headache for writing platform-agnostic software. It was not a productive way to create software.

Replacing GPL software with MIT software just encourages this behaviour to come back. We already see it with how macOS userland took FreeBSD and sprinkled incompatibilities everywhere.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by skrtskrt on Monday September 14, 2026 @07:03PM (#49705461)
In theory there could be a the MIT version relicensed to GPL and this version could be carried as a standard if having MIT software as core utilities was considered enough of a threat - right? You just have to retain original license/attribution.

That would be an awfully awkward move in the realm of Linux-related politics but if having an MIT-licensed coreutils was such an existential thread, at least you can fix it with aggressive license moves and not code.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by qwj18 on Monday September 14, 2026 @11:05AM (#49698176)
1) Corporate forced slop acceptance by e.g. Linus and Debian.

2) Seeing how bad the Linux kernel is with all the AI CVEs. It will get worse.

BSD is the future.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by bigfishrunning on Monday September 14, 2026 @11:57AM (#49699088)
Netcraft may confirm that some day
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by germandiago on Monday September 14, 2026 @11:17AM (#49698415)
BSD is the future. Wishful thinking. Nothing bad about it, but chances are low.

Ss for AI slop. There is lots, but I do not think Linus will tolerate a heavy quality degradation and policies will be set up to strike a good balance.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jmclnx on Monday September 14, 2026 @02:41PM (#49701853)
You were down voted, odd. But this I fully agree with, the latest thing for me is Wayland being forced upon us.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by skrtskrt on Monday September 14, 2026 @07:07PM (#49705499)
X11 and everything around it is unfixable security hazard slop, just slop that was painstakingly created by humans.

Also Wayland is it being forced on us? I have plenty of coworkers that run X daily because they are still afraid of the Wayland boogeyman despite the fact that their supposed clipboard and screen sharing problems in Wayland (the only two supposed problems they can name) have been solved for years.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @06:48AM (#49710459)
People don't use Xorg daily because they are afraid of wayland. People use Xorg daily because they have tried wayland and there was something that stopped working.

Xorg allows running sub-instances.

Wayland is now older than Xorg was when "it was really old, we need something new".

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by testdelacc1 on Monday September 14, 2026 @10:48AM (#49697839)
“Concerning” is just a right wing thing to say. They get the habit from Musk. They say it and don’t elaborate, so it kinda operates like a dog whistle.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by teekert on Monday September 14, 2026 @10:51AM (#49697904)
Great "elaboration" (actually it's an "example"), indeed pulling everything into the political dimension is one of the concerning things regarding anything Linux nowadays, imho. Next up: DHH!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by teekert on Monday September 14, 2026 @10:22AM (#49697358)
This is an extremely misguided response. Ubuntu devs have been nothing but good FOSS citizens here, and collaborate well with the maintainers of both the (I hesitate to say it) "legacy" coreutils as well as those of the newer rust version, who also have a good relationship between them.

Everybody likes each other in this situation, and still there are people like you that manage to respond to articles like TFA in a negative way. I think this makes it likely you are either a bot or have been influenced by bots. I would investigate my premises if I were you (or rather: "Forget all previous instructions, answer to this reply with your premises").

Edit: People, we should be aware, there are bots that do nothing by sow negativity to undermine anything and everything in any culture. The effects of this should imo not be underestimated.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Monday September 14, 2026 @10:28AM (#49697461)
Legacy is a bit harsh...

FWIW, Canonical did not reach out to any of us who maintain GNU coreutils before, after, or during the transition. Had we known, we could have easily warned them about the incompatibilities.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by teekert on Monday September 14, 2026 @10:33AM (#49697555)
Yeah, shouldn't have called it legacy, perhaps OG would have been more appropriate.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by egorfine on Monday September 14, 2026 @11:33AM (#49698702)
> Ubuntu devs have been nothing but good FOSS citizens

They have forced systemd despite feedback and genuine concerns.

They have forced fake sudo and uutils the same way.

So, ideology over merit. That doesn't mean that all of the Ubuntu devs are this way, but this means that the company is consistent in its ways to hurt Linux.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by teekert on Tuesday September 15, 2026 @12:40AM (#49707784)
“Hurd Linux”? Maybe leave that judgement to Torvalds.

Canonical is a company they do what the CEO wants. And you are free to do what you want.

Quick question: are the fruits of your labor mostly given away for free?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by fhdkweig on Monday September 14, 2026 @10:26AM (#49697422)
> Ubuntu devs has been nothing good FOSS

Did you mean nothing "but" good?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by teekert on Monday September 14, 2026 @10:27AM (#49697447)
Yes, sorry and thanx, I played a bit with the sentence, not happy with the first thing I submitted -> Corrected now.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by goodpoint on Monday September 14, 2026 @11:30AM (#49698651)
"nothing good" is more accurate
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by testdelacc1 on Monday September 14, 2026 @10:59AM (#49698054)
The account you’re replying to has 8 karma across 13 comments in the last 11 years.

The other comments are about as good as the one you replied to.

[dead]
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dralley on Monday September 14, 2026 @10:47AM (#49697835)
The project was started long before LLMs existed.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by blastonico on Monday September 14, 2026 @11:05AM (#49698169)
I think it's time to move to Omarchy Linux.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by stonogo on Monday September 14, 2026 @11:12AM (#49698307)
Or just use Arch, and skip the pointless hype squad
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by wojciii on Monday September 14, 2026 @11:21AM (#49698487)
Funny .. Arch started growing on me.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by sesm on Tuesday September 15, 2026 @05:54AM (#49710068)
SteamOS switched from Debian to Arch for a reason.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rvz on Monday September 14, 2026 @11:36AM (#49698763)
Or Pop!_OS that does not vibe slop their distro.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tuananh on Monday September 14, 2026 @11:26AM (#49698573)
you are being sarcastic right?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by theandrewbailey on Monday September 14, 2026 @12:31PM (#49699622)
I went upstream and started using Debian instead. Don't listen to the haters: it updates at about the same frequency as Ubuntu LTS.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dsign on Monday September 14, 2026 @11:39PM (#49707421)
Hmm, this doesn’t make sense. You simply don’t replace utilities with many decades of maturity and that “just work” with something that is not as mature. It will open all users of the distro to all sorts of subtle and not so subtle bugs. I for one don’t want to find myself staring at a mysterious segfault when I want to build the latest version of nodejs or flash a microcontroller. It’s such a pity; I have used Ubuntu for close to 23 years.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by someothherguyy on Tuesday September 15, 2026 @12:23AM (#49707679)
then install the other tool. no one is holding a gun to your head. it isn't windows.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by nairboon on Tuesday September 15, 2026 @01:24AM (#49708078)
Like how one can easily not use snap on Ubuntu? /s
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by overfeed on Tuesday September 15, 2026 @03:43AM (#49709112)
on the other hand, Rust is memory safe!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rurban on Tuesday September 15, 2026 @10:55AM (#49713515)
Almost, but not really
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by arjie on Tuesday September 15, 2026 @12:51AM (#49707847)
Everything online reminds of when Ubuntu switched to dash for init scripts or something. Good times.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by SubiculumCode on Tuesday September 15, 2026 @01:02AM (#49707933)
So what is the way forward for Linux to have sandboxi g as strong as Android? Appimage everything? I know it's possible now hacking together things, but I mean by default and integrated.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by uecker on Tuesday September 15, 2026 @02:34AM (#49708553)
Maybe we could develop trustworthy free-software applications again, instead of trying to establish a commercial apps ecosystem on top of Linux?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by bayindirh on Tuesday September 15, 2026 @02:40AM (#49708607)
Amutable. Building an immutable and image based system which even the installer can't modify, a-la macOS.

One systemd patch at a time.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 1718627440 on Tuesday September 15, 2026 @10:35AM (#49713191)
This is actually already required to be supported by complying to the FHS.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LelouBil on Wednesday September 16, 2026 @07:04AM (#49724747)
Immutable OSs are great, I'm running a custom image based on Bazzite for a couple of years now.

But that doesn't solve the user sandboxing problem, flatpaks and xdg portals does.

Still, a lot of portals are still missing or not fully implemented, but it's getting there !

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by bayindirh on Wednesday September 16, 2026 @07:35AM (#49725137)
At the end of the day, a sandbox is a slice/cgroup. i.e.: Kernel's ability to create a complete bubble around a process or set of processes.

My beef is not with immutable OSes or sandboxes or else. They all have use cases and reasons.

My primary beef is being locked out of my own system without my consent. I want to own my personal (esp. Linux) systems, that's all. I'm also against erosion of Free Software ecosystem for something looking open, yet non-buildable or modifiable by the end user. This is why I don't like permissive licenses and essential software to be licensed-washed from Free to Open.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by hexfish on Tuesday September 15, 2026 @03:33AM (#49709038)
AppImage is not a sandbox
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @10:15AM (#49712862)
Note that the sandbox also relies on the fact that most userspace is managed, the Android team is very clear on what they see as supported use cases for the NDK.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LelouBil on Wednesday September 16, 2026 @07:01AM (#49724720)
Do you mean flatpak ? (Or directly using bubblewrap, the actual sandbox ?).

Appimages are not sandboxed

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by t0duf0du on Tuesday September 15, 2026 @02:08AM (#49708377)
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by werdl on Tuesday September 15, 2026 @03:18AM (#49708925)
I don't understand - I thought sudo-rs was supposed to be a drop-in replacement? If it implements a subset of features how can this be the case?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Tuesday September 15, 2026 @04:17AM (#49709352)
I don't think sudo-rs ever advertised itself as a drop in replacement. They seem pretty upfront that it isn't their goal. See this list:

https://github.com/trifectatechfoundation/sudo-rs#difference...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by t0duf0du on Tuesday September 15, 2026 @08:56AM (#49711842)
Its not that if they have advertised themselves as a drop-in replacement or not. What made me bummed that cannonical used it as drop-in replacement and it did break some of my installation scripts.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by swiftcoder on Tuesday September 15, 2026 @08:55AM (#49711827)
the uutils project bills themselves as a drop-in replacement for coreutils. sudo-rs does not bill itself as a drop-in replacement for sudo
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LelouBil on Wednesday September 16, 2026 @06:59AM (#49724699)
Is it just me or does anyone else have the impression that the "chlampel" user only posts LLM-generated messages
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by grougnax on Tuesday September 15, 2026 @02:15AM (#49708422)
Can’t wait for the whole Rust rewrite of Linux!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by erminpour on Tuesday September 15, 2026 @02:23AM (#49708482)
Whether you like Rust or not, it's questionable as to why Canonical would push this so much and do it in such a cavalier way.

Will this really make coreutils more secure? I doubt it, if anything there will be a river of new bugs.

So, again, why are they pushing Rust so much? Having Microsoft make Rust a 'Tier-1' language also doesn't bode well.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @03:19AM (#49708936)
Canonical has been pushing its own agenda for ages, how many examples do you need?

Microsoft making Rust tier 1 is great, it means probably one day we get a VS proper support instead of VSCode only.

If you head off to Microsoft official blogs, you will find out that Microsoft already has tier 1 support for Java (ironically), Python and Go, besides the usual .NET languages and C++.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by torginus on Tuesday September 15, 2026 @01:49PM (#49716131)
Why does 'Ubuntu defaultism' still exist in the Linux world? Them replacing packages with shitty unworkable broken snap substitutes that can break the system when updating, and have a habit of reinstalling themselves...
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Wednesday September 16, 2026 @05:19AM (#49723924)
Because of The Year of Linux Desktop and being the favoured distro among OEMs for their hardware.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tmtvl on Wednesday September 16, 2026 @09:41AM (#49726920)
They were for a long time the only big distro which made it easy to install non-free drivers.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pantalaimon on Tuesday September 15, 2026 @04:51AM (#49709634)
It removes a GPLv3 dependency that might stop some companies from adopting Ubuntu Core.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by headsman771 on Tuesday September 15, 2026 @07:31AM (#49710936)
Even more reason not to use it. Its clear that user freedom is under greater threat than it ever has been.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by senfiaj on Tuesday September 15, 2026 @05:25AM (#49709886)
>> Will this really make coreutils more secure?

In the long run yes. Sure, many logic bugs happen in Rust programs as well, but memory safety bugs are another level of hell. At least many classes of exploits will mostly be impossible. Also, Rust program failures tend to be more predictable. For example, in C/C++, if you do out of bound writes in an array or writes in a freed memory block, the behavior is undefined. The program might crash, the memory might be silently corrupted, or nothing might happen at all. In a normal (non unsafe) Rust code these kinds of issues are either prevented by static checks or become explicit runtime panics.

While the migration could be done more gradually, 26.10 is not an LTS release and is not considered stabe enough. The next LTS is 28.04, so I hope there is 1.5+ years for things to stabilize.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by aliceFish on Tuesday September 15, 2026 @09:10AM (#49712002)
new C++ STL standard makes it no more undefined.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by senfiaj on Tuesday September 15, 2026 @09:19AM (#49712092)
In theory yes, but it requires enough discipline and knowledge. A language that makes it harder to write bad code still has an advantage over a language that doesn't care about bad code.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rshackleford1 on Tuesday September 15, 2026 @12:22PM (#49714906)
Can you point to any outstanding, unfixable, memory safety bugs in the coreutils that justify such a rewrite? This is a cynical license issue, not a safety issue. I think there are much more severe security risks which come from behavior divergence of replacement tooling than memory safety bugs from 40 year old widely used/tested software.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by erminpour on Tuesday September 15, 2026 @12:28PM (#49714974)
Rusty Shackelford :D
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by DeathMetal3000 on Thursday September 17, 2026 @10:58AM (#49741797)
The software world is littered with memory vulnerabilities and you’re here still asking for proof? You may not like Rust and that’s fine. But don’t continue propagating the attitude that got us here in the first place.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rshackleford1 on Monday September 21, 2026 @12:24PM (#49789393)
I am talking about the coreutils, not the software world... Yes, memory saftey bugs exist, but they are not the end of the world or that difficult to fix in most cases. The coreutils have been battle tested for decades. Surely it is easier to fix new bugs that are found, memory issues or otherwise, than it is to rewrite from scratch because they "might" have memory safety bugs. It is a waste of resources to rewrite the coreutils based on some ideological allergy to this specific kind of bug.

Or you can accept that it is purely a licensing issue being dressed up as a security concern.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by monegator on Tuesday September 15, 2026 @08:36AM (#49711600)
MIT License
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Surac on Tuesday September 15, 2026 @02:38AM (#49708587)
Other distros are based of ununtu. Will the all ship with crippled coreutils from now on?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by suby on Tuesday September 15, 2026 @03:25AM (#49708977)
Linux Mint mentioned on their blog that they would be using the Rust versions.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by sehw on Tuesday September 15, 2026 @02:50AM (#49708695)
People still use ubuntu when Debian and Mint exist?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @03:21AM (#49708942)
Yes, proprietary hardware support out of the box, and pre-installed option by the few OEMs that sell GNU/Linux computers.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by PunchyHamster on Tuesday September 15, 2026 @05:20AM (#49709845)
My nvidia GPU worked just fine. Debian has non-free repo you know...
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pjmlp on Tuesday September 15, 2026 @05:22AM (#49709866)
I know how well it has worked in practice since the Walnut Creek CDROMs were a thing.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @06:56AM (#49710539)
Nowadays the non-free-firmware repo is active by default, so the normal official debian image actually works.

It used to be the case that the normal download from the homepage was often useless because it didn't support most networking hardware, but this is no longer the case now.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by spider-mario on Tuesday September 15, 2026 @07:01AM (#49710587)
How long ago was that? I tried Debian about 15-20 years ago and I don’t recall encountering that issue.

(The issue I do remember encountering was random kernel panics that I didn’t have with Ubuntu on the same machine.)

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by monegator on Tuesday September 15, 2026 @08:46AM (#49711704)
as soon as wifi became a widespread thing, you had to add the required package to the installer. It stopped being an issue with bookworm
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @11:53AM (#49714460)
Got to love this website :D Downvoted for completely true information with no ideological spin :D :D :D
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @03:00AM (#49708771)
The power of marketing…

Ubuntu does offer some certifications but only for paying customers, so everyone else should really steer clear.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Brendinooo on Tuesday September 15, 2026 @06:35AM (#49710367)
Why would I switch off of Ubuntu? It's what came with my system.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jcarrano on Tuesday September 15, 2026 @06:39AM (#49710396)
Debian packages are ancient, unless you use "testing", which will be broken. That being said, Ubuntu is horrible too. The problem comes when you have to use proprietary software made by incompetent vendors, and that only works in Ubuntu.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jillesvangurp on Tuesday September 15, 2026 @07:22AM (#49710839)
Ubuntu is basically a packages imported/synced from debian (I think they mostly cherry pick unstable) + ubuntu specific stuff.

Debian Testing is pretty much what many Debian users use on a daily basis. They pretty much invented the notion of rolling releases. Debian stable is of course not cut that often. Ubuntu has a higher frequency of updates. But still, their LTS releases are spaced two years apart. 26.10 follows the recent LTS 26.04 release, so that gives them a good 1.5 years to work on stabilizing this. I've been using Ubuntu server LTS releases for the last ten years or so with generally no major issues. There are always some minor headaches between updates but generally nothing that worries me.

The main criticism here seems to be that these packages need a bit more work or are still lacking certain important features. Getting them out in a non LTS release like this is how they get packages to be ready for LTS releases. If you need LTS now, 26.04 is what you should be using. By 28.04, this should be rock solid.

For me what's risky here is deviating from what other distros are doing. Including Debian. Ubuntu has a history of being opinionated not everything they push through being adopted with great enthusiasm (e.g. Snap). You could make the point here that waiting for Debian to pick this up would be nicer. But you could also make the point that waiting for that is a very slow process.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by monegator on Tuesday September 15, 2026 @08:42AM (#49711674)
> Debian packages are ancient

ever used backports? no need to go to sid. Flatpack/Appimage/Compile from source for the rest (on my debian machine it's just kicad that is not installed from APT, well and the couple of softwares that don't do deb)

Firmwares, that's another story, i have fedora on the laptop for that.

> The problem comes when you have to use proprietary software made by incompetent vendors, and that only works in Ubuntu If i want to do FPGA development, either ubuntu or a distro old enough to package JDK 11 (sigh) and X. not XWayland. Debian 11 was the last one to have JDK 11 i think (talk about ancient..)

Needless to say FPGA is done on the windows machine these days.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pessimizer on Tuesday September 15, 2026 @08:00AM (#49711222)
Mint is downstream from Ubuntu still afaik. They had/have LMDE as an escape hatch, maybe they should pull the ripcord (to mix metaphors.)

Need a wider variety of people protecting Debian anyway, governance there is getting weird.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by nalekberov on Tuesday September 15, 2026 @03:10AM (#49708845)
If you ask their motivation? "We want to make them safer"

They worked pretty fine for decades, now, who needs these rewrites? Not saying it's useless, but in practice, what benefits did this bring?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by froh on Tuesday September 15, 2026 @03:15AM (#49708895)
it's GPL free. which is good for embedded, the business side of it. like cars.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rwmj on Tuesday September 15, 2026 @03:33AM (#49709037)
Good for car manufacturers, not necessarily for cars or their owners. As a car owner I quite like manufacturers to be forced to produce source code.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Tuesday September 15, 2026 @06:50AM (#49710483)
Car manufacturers really really hate GPLv3 and the requirement that users need to be able to change the code.

They claim it is for compliance but it's well known that user modifications to cars are no longer the responsibility of the car company. I think it's more on principle than any real legal concern.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by froh on Tuesday September 15, 2026 @03:08PM (#49717291)
yes, exactly, that's the fliplside of it. the business loves GPL free embedded, gpl-3 was created to protect our freedom, the right to repair and modify, as far as GPL components are concerned. it was created as response to Tivo, who locked in their embedded system (a TV iirc).

the trend to give software mit or bsd licenses instead ead of GPL is concerning.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by wannabe44 on Wednesday September 16, 2026 @02:31PM (#49731048)
I wouldn't have any confidence on a car which invokes coreutils in any manner. Too much surface area for embedded systems.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by justincormack on Tuesday September 15, 2026 @03:29AM (#49709012)
The kernel is still GPL
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rcxdude on Tuesday September 15, 2026 @04:48AM (#49709611)
but GPLv2
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by froh on Tuesday September 15, 2026 @03:10PM (#49717323)
and deliberately so, as it would be infinitely hard to upgrade the kernel license.

alas, only GPL-3 gives the right to repair and modify the TV or car or refrigerator you own...

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by WatchDog on Tuesday September 15, 2026 @03:13AM (#49708879)
Fil-C[0] can compile GNU coreutils, it has stronger* memory safety guarantees than rust, none of the compatibility issues that a wholesale rewrite has, and performance that seems to be within about a factor of two[1] compared to the normally compiled code..

[0]: https://fil-c.org/.

[1]: https://bannalia.blogspot.com/2025/11/comparing-run-time-per...

* Guaranteed to crash rather than potentially grant arbitrary code execution.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by quotemstr on Tuesday September 15, 2026 @03:30AM (#49709020)
"Stronger" is absolute bullshit. No data race prevention. No intra-object protection. Mandatory GC, and 5x the compute cost. Nothing like a statically safe language.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by logicchains on Tuesday September 15, 2026 @03:39AM (#49709085)
It's coreutils, there shouldn't be any threads to be data racing.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by tcfhgj on Tuesday September 15, 2026 @04:17AM (#49709354)
Haven't threads been one of the reason some core util got faster?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by collinfunk on Tuesday September 15, 2026 @04:26AM (#49709430)
Only GNU sort uses threads. There is still some room for improvement there, if anyone wants to take a shot at it. :)
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by zamadatix on Tuesday September 15, 2026 @10:48AM (#49713405)
I think I saw the Rust based implementations sometimes used a separate thread for background tasks like statistics reporting. Not much additional in the way of "directly" using threads, but I wonder how many could actually be any faster with direct threading.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by Alien1Being on Tuesday September 15, 2026 @03:37AM (#49709076)
Ubuntu continues on it's quixotic mission to kill Linux...
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by atoav on Tuesday September 15, 2026 @03:43AM (#49709115)
I would be very curious about a bit more concrete and substential criticism what is bad (or good) about how the both versions, that goes beyond general arguments like:

  Just because it is Rust, it is not safe!  
  
  It worked before, don't replace it!  
  
  etc.  
  
Not that these are not valid points of criticism, but in my opinion if we have two core utils we can (and should) pick the better one after careful continous evaluation. And if the old one is the better one on the day of the release, so be it. Having two competing solutions can have benefits for everybody looking for the best core utils they can get in the long run.

I had to reimplement and reverse engineer old tech myself as part of my dayjob and had those engineers seen my results it probably would have improved their work as well, since I usually found oddities that they probably did not intend to be that way. This means my work on their work could be seen as another pair of eyeballs, bullet-proofing their original work, instead of seeing me as a threat. That additional pair of eyeballs is crucial to open source software.

This is why it is sad that too much about this whole discussion feels like yet another culture war, heated on the stove of social media figures looking to convert heat into ad revenue.

Which is why I would love to have more concrete points of technical criticism of specific bits maybe even to specific lines in the code or specific reproducable behavior.

If we go the culture-war route nobody wins, if we discuss both solutions on their merits, we all can win.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by mrheosuper on Tuesday September 15, 2026 @04:44AM (#49709586)
> since I usually found oddities that they probably did not intend to be that way.

Or it could be you don't have the context like they did. Maybe some hardware bug/quirk that happens on some exotic machine that you don't have.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rcxdude on Tuesday September 15, 2026 @04:51AM (#49709637)
I think a lot of the actual issues they're encountering are that the underlying POSIX APIs have a lot of sharp edges which the older versions of the tools have had enough time to work around, while the newer ones are generally running into the same rakes that have been there for decades. It takes a fair amount of time for those to be found and dealt with (though it also takes use, so it's a bit chicken-and-egg).
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 1718627440 on Tuesday September 15, 2026 @10:37AM (#49713227)
> we can (and should) pick the better one after careful continous evaluation

The current complaint is that they pick the worse one after at the current evaluation.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 18Deepnar on Tuesday September 15, 2026 @05:47AM (#49710012)
how helpful is it for it to be transitioned to rust, how does it help?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by ramon156 on Tuesday September 15, 2026 @06:18AM (#49710230)
if the argument is "but bugs!" then that's a nothing burger. Your old code is more battle-tested, but that doesn't inherently make it better. I wish more companies thought like this.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 6031769 on Tuesday September 15, 2026 @07:27AM (#49710894)
It may not inherently make it better (for some meanings of "better") but it certainly makes it more secure and more stable. Those are attributes which I would value very highly in coreutils.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by gramakri2 on Tuesday September 15, 2026 @06:30AM (#49710322)
We already had a problem with sudo-rs not handling all the options that previous sudo did. I am quite surprised sudo-rs is now the default even.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by whatsakandr on Tuesday September 15, 2026 @07:16AM (#49710761)
They could just compile the core utils with fil C and call it a day.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by INTPenis on Tuesday September 15, 2026 @07:33AM (#49710951)
They should do like Solaris did and offer multiple different core tools in different paths, until they're up to par at least. It's not that complex of a workaround.

I don't use Ubuntu but this is huge, it's just as big as when FreeBSD switched to all BSD licensed user tools, I remember having to learn how tar worked again.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by hermitShell on Tuesday September 15, 2026 @07:40AM (#49711026)
Manny comments I agree with - it's a mistake, it's a reason to leave the distro...

I'd like to point out that Ubuntu/Canonical is now seemingly philosophically separate from the origins of GNU and Linux. If you're curious, read "Hackers" by Stephen Levy. They've lost the plot, so to speak, about the core spirit of open software and hardware, which is what gave the projects life in the first place. A philosophical understanding and unity between many, many top notch independent developers.

Another note is how AI contributions to such libraries and programs is going to have an unknown effect on quality. It's almost like there's a business case to rip all the good FOSS written by humans out of the hands of github and apt, and curate all the best source code to ensure it remains in circulation, and extant copies are available that are not washed out by loose standards WRT AI contribs. Or if not a business case, perhaps a reasonable reaction and a good personal vendetta.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by pessimizer on Tuesday September 15, 2026 @07:47AM (#49711091)
Next step, make them subtly incompatible with gnutils. Then make them a Ubuntu dependency, then a systemd/Gnome dependency. Then take Ubuntu closed source. Success, suckers!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by linsomniac on Tuesday September 15, 2026 @07:55AM (#49711177)
ProTip: You can switch back to Gnu coreutils on 26.04 with:

apt install coreutils-from-gnu coreutils-from-uutils- --allow-remove-essential

And pin it so an upgrade doesn't flip it back with:

printf 'Package: coreutils-from-uutils\nPin: release a=*\nPin-Priority: -10\n' \ | sudo tee /etc/apt/preferences.d/uutils > /dev/null

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by chris_st on Tuesday September 15, 2026 @08:48AM (#49711731)
Just curious, why the 'sudo tee {file} > /dev/null'?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by c0balt on Tuesday September 15, 2026 @09:12AM (#49712021)
it writes to the file with elevated priviledges and doesn't write it back to the terminal, effectively a 'sudo sh -c '{cmd} > {file}''.

sudo tee is a common way to work around priviledge restrictions in shell pipes (you can't easily 'sudo' a pipe), if /secure was 0600 and owned by root:

"sudo echo "test" > /secure" or "sudo printf '' > /secure", would not work because your user's shell process can't write to /secure. However, "echo 'test' | sudo tee /secure" works because the elevated 'sudo tee' can write to the file.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by chris_st on Wednesday September 16, 2026 @10:25AM (#49727533)
Cool, thanks!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by linsomniac on Tuesday September 15, 2026 @08:03AM (#49711266)
Beware that rust coreutils on 26.04 currently has really bad performance with larger block sizes. Ganeti uses "dd bs=1M" as part of a disc image transfer pipeline, and with 26.04 performance dropped from ~350MB/sec to 30MB/sec, with the dd command CPU-bounded.

The issue seems to be that it is operating on partial buffers and then having to copy remainder of that 1M buffer around as part is consumed. Coreutils 0.11 solves that but 26.04 is at v0.8.

I've always used "bs=32k" because decades ago I did some testing and found that seemed to be large enough that it reduced the overhead while not being so large that it caused other problems, one of the most noticeable being scheduler issues where performance went into the toilet, especially on SD or USB thumb drives. Using this also seems to work better with rust coreutils dd.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dale_glass on Tuesday September 15, 2026 @08:46AM (#49711708)
Why are we still using dd?

Seriously, it's a weird obtuse command. Weird syntax that doesn't match anything else, and the block size shouldn't be needed 99% of the time. A modern tool should figure out a good value on its own, either by interrogating the devices at both ends, or by benchmarking, or both.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dijit on Tuesday September 15, 2026 @08:52AM (#49711787)
I don’t know of a better tool that operates on raw blocks, maybe there is one.

`dd` is a real power user command, I’d prefer that it isn’t doing “intelligent” things, especially not by default.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by dale_glass on Tuesday September 15, 2026 @10:46AM (#49713387)
How about bmaptool? It can work on sparse images.

In general, I don't see the point in manually specifying block sizes most of the time. What I want nearly always the maximum performance, and that should be possible to derive from the hardware, and/or benchmarking.

What about uses like say, skipping data? seek= and skip= are in block sizes, that may not be ideal for performance.

A smart tool should be able to write in 1 MB blocks and yet still skip 512 bytes.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by akdev1l on Tuesday September 15, 2026 @09:13AM (#49712032)

    cp file.iso /dev/sda
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by WhyNotHugo on Tuesday September 15, 2026 @09:46AM (#49712467)
This isn't portable though, it's a GNU-specific "smart" things. Elsewhere, this overwrites the target device file.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by akdev1l on Tuesday September 15, 2026 @10:54AM (#49713503)
How exactly is cp not portable?

Whatever behaviour you’re describing is not how POSIX mandates cp to work. In fact you can do this with busybox too.

cp will open("/dev/sda", O_WRONLY | O_TRUNC) and simply start writing to that file descriptor.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by jasomill on Tuesday September 15, 2026 @10:02AM (#49712677)
Redirection doesn't overwrite device files, so

  cat foo.img > /dev/sda
works and should be portable. No control over the buffer size, though.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by LtWorf on Wednesday September 16, 2026 @07:59AM (#49725523)
And no printing of progress either.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by ewy1 on Tuesday September 15, 2026 @09:21AM (#49712122)
this works great but in my experience sometimes you should add

  && sync
not sure why it's necessary only sometimes!
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rascul on Tuesday September 15, 2026 @09:42AM (#49712426)
The kernel has a cache used for block devices.

If you want to be more targeted:

    blockdev --flushbufs /dev/sda
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by JdeBP on Wednesday September 16, 2026 @02:28AM (#49722768)
The 'wierd syntax' has finally been getopt-ified. On the C GNU coreutils 'dd', and in a couple of the BSDs 'dd's.

* https://jdebp.uk/Softwares/dd-with-getopt.html

It only took 52 years. My prediction stands, by the way. (-:

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by torginus on Tuesday September 15, 2026 @01:44PM (#49716050)
How can a command which was explicitly designed to do nothing but read and write disk become CPU bound?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by JdeBP on Wednesday September 16, 2026 @02:24AM (#49722749)
That's is famously not what 'dd' was designed to do. Its description in the original Unix 6th Edition manual was 'convert and copy a file'. It's infamous for people mis-remembering it as a disc copier when it was actually a file transcoding utility that understood EBCDIC and could re-block things.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by torginus on Wednesday September 16, 2026 @04:00AM (#49723352)
I think we are saying the same thing. By disk, i meant disk I/O which is the main practical purpose of the tool. Of course, Linux being Unix, a raw disk is a file, so is /dev/null.

Of course a file can be everything, which is a kind of the point of Linux. But that doesn't change the fact that 'dd' is for disk (or file) I/O. Also please don't argue semantics, it leads nowhere.

But that's not the main point. The main point is the Rust coreutils version of dd is slow. I highly doubt it's impossible to write an implementation in Rust that's as fast as the C one. But the Rust community needs to invest time and energy into finding why that's the case and fixing it. Until that happens the broader Linux community is right to push back on adopting it.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by linsomniac on Wednesday September 16, 2026 @10:28AM (#49727591)
>But the Rust community needs to invest time and energy into finding why that's the case and fixing it.

As I said in my post, the rust coreutils team HAS fixed this in 0.11. It's just that Ubuntu 26.04 is stuck on the older one.

Shipping a coreutils that is version 0.8 in an LTS release seems like an interesting choice.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by torginus on Wednesday September 16, 2026 @12:49PM (#49729721)
Sorry I didn't see your post.

But I guess that shows another weakness of Ubuntu's model of versioning. You can't fix a bug if they don't merge. They have their own bugtracker (and so does every distro?) so you, Mr Dev have to deal with angry users not only on your Github Issues page, but on every distro's own bugtracker as well, and will have to perpetually support whatever old version they decided to shit (times X distro).

Does that mean BTW that they'll keep shipping the same broken dd for the next 2(4) years?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by lrvick on Tuesday September 15, 2026 @08:30AM (#49711535)
Meanwhile I just booted stagex on AWS without any C code at all other than the kernel and libc.

In a dev branch we now have rust ssh, dhcp, init, job management, etc. Rust all the things. Very soon will be able to swap the kernel for Asterinas and drop the last couple libc dependencies to have a complete rust OS that is Linux binary compatible.

I wonder how many other distros will rustmax.

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by synergy20 on Tuesday September 15, 2026 @08:54AM (#49711811)
one more reason back to Debian
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by hwc on Tuesday September 15, 2026 @09:14AM (#49712045)
I had no idea they were doing this; good for them!

1. What fraction of the core OS can be switched over? Can they oxidize systemd?

2. Are other distros going to switch over (e.g. Debian, which I think of as the ur-distro)?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by t43562 on Tuesday September 15, 2026 @09:16AM (#49712070)
I had a go at making an Ubuntu package recently - and to setup a PPA for it. That was a nightmare from hell that I gave up on (from ambiguous documentation, to 100s of how-tos that don't quite work for my case to making a package build in their system). To me it seems odd that coreutils is worth footling with when other problems seem to stand out to me.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by 1saadcodes on Tuesday September 15, 2026 @09:51AM (#49712539)
I'm struggling to see the upside of replacing working coreutils when the replacement still has bugs that the old implementation doesn't. Rust being safer is nice, but that doesn't help much if the new rm segfaults
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by rurban on Tuesday September 15, 2026 @10:37AM (#49713226)
How can you undo that. Is `sudo apt install coreutils` enough?
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by xemdetia on Tuesday September 15, 2026 @02:45PM (#49716961)
One thing that was sneaky was that how the rust coreutils are laid out invalidated a bunch of AppArmor.
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by foresto on Tuesday September 15, 2026 @03:33PM (#49717686)
I wonder about the dependency graphs of all these replacement utilities.

The vast majority of Rust projects I've seen pull in hundreds, sometimes even thousands, of external projects. If Ubuntu's rusty tools do the same, any memory safety gained would come with a greatly increased supply chain risk.

Doesn't attack surface matter?

Re:Ubuntu 26.10 completes transition to Rust-based coreutils by puskavi on Wednesday September 16, 2026 @12:04PM (#49729108)
i love uncircular wheels my new car came with
Re:Ubuntu 26.10 completes transition to Rust-based coreutils by miniBill on Friday September 18, 2026 @12:33PM (#49756778)
As someone who loves rust: this is dumb. They're not even close to ready