logoalt Hacker News

Ubuntu 26.10 completes transition to Rust-based coreutils

90 pointsby theanonymousoneyesterday at 1:38 PM87 commentsview on HN

Comments

collinfunkyesterday at 2:24 PM

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
show 3 replies
Malakunyesterday at 3:00 PM

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...

show 2 replies
Arcuruyesterday at 3:31 PM

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/

show 2 replies
hk1337yesterday at 3:16 PM

Was there something wrong with how they are currently written or do they just want the badge that says they converted to Rust?

goodpointyesterday at 3:31 PM

one more reason to stay away from Ubuntu

phendrenad2yesterday at 2:52 PM

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.

show 2 replies
lovedaddyyesterday at 2:12 PM

[flagged]

show 2 replies
blastonicoyesterday at 3:05 PM

I think it's time to move to Omarchy Linux.

show 2 replies
bithammerthundeyesterday at 2:41 PM

[flagged]

show 1 reply
asrk-qlwuyesterday at 2:26 PM

[flagged]

perarnengyesterday at 4:07 PM

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.