News for hackers. Stuff that matters.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by novafunc on Friday November 06, 2026 @05:23PM (#50399303)
It’s not a knockoff. They have a friendly relationship with the original creator of sudo. And their work helps uncover bugs of the original sudo so they send fixes upstream.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by lakeviewterrace on Friday November 06, 2026 @05:25PM (#50399319)
All the time wasted on navel-gazing could have been spent auditing and fixing the original projects' code.

Starting anew WILL introduce new bugs. This is a statistical certainty.

Most Rust rewrites solve no new problems, just imaginary boogeymen.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by danielheath on Friday November 06, 2026 @05:30PM (#50399372)
One would never return “*” to signal an error in rust code (or any language with an option type).
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by lakeviewterrace on Friday November 06, 2026 @05:36PM (#50399421)
Rust can't even self-host on most of the architectures that abortion of a library was written for.

Holy fuck are Rust people all petty activists?

Stop spending every waking minute telling everyone how great it is and making knockoff clones of 40 year old software and go solve new problems.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by Scoring6931 on Friday November 06, 2026 @07:41PM (#50400464)
Nothing precludes error handling in C. It's on the programmers to actually do it.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by Ygg2 on Friday November 06, 2026 @08:09PM (#50400621)
Nothing precludes having legible programs in Brainfuck[1]. It's on programmers to actually do it.

[1] Other than the language itself.

Same goes for C, it's reliance on weakish type system is what causes its numerous fuckups.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by danielheath on Sunday November 08, 2026 @12:44AM (#50410737)
If you forget to do it in C, everything still looks superficially right.

If you forget to do it in rust (or zig, or typescript, or any of the hundreds of languages with option types), your code doesn't compile.

Nothing precludes "simply do not fall off" when working off heights, either, but there's a reason safety harnesses are mandatory when working at heights in most of the developed world.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by mxey on Saturday November 07, 2026 @02:47PM (#50407432)
Imagine every Rust program just calling unwrap on this result, and therefore the Rust library deciding to just never return an error. That’s analogous to what happened here.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by UqWBcuFx6NV4r on Friday November 06, 2026 @06:04PM (#50399703)
I can’t stress this enough: there are—rightfully—a whole bunch of people that simply do not want to work on C codebases, because in the typical case, working wIth C sucks. Your outbursts are never going to change this, no matter how petulant or vitriolic. Amazing how a group of people has made “[aversion to{ languages with far fewer footguns” into some sort of culture war issue. Sorry that the industry is forcing you to read a book or whatever.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by saghm on Friday November 06, 2026 @07:08PM (#50400261)
If your goal is to convince people that you're right, describing things as "time wasted on navel-gazing" is not the type of thing that will win people over. It comes across as arrogant and entitled, as if the world would be better if everyone would just recognize you're smarter and therefore should do whatever you want.

If you're just pissed and trying to blow off steam, maybe this choice of words will help a bit, but because of the issues described above, it also might just cause a bunch of people to react negatively towards you and therefore make your mood worse.

If you're just commenting here as something to reference in the future for when you expect to say "I told you so!" to everyone, I guess this is a reasonable way of doing it. It still doesn't really seem like there's much need for phrasing it like that though; people still might look back and think that you're right but still sound arrogant and entitled.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by lakeviewterrace on Friday November 06, 2026 @07:19PM (#50400332)
Thanks, Dad.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by saghm on Friday November 06, 2026 @09:17PM (#50401013)
I'm sorry that my suggestion that people comment on this forum in more constructive ways bothers you
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by aeonik on Saturday November 07, 2026 @05:53AM (#50403413)
He's your dad? You have a pretty cool dad.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by Twirrim on Friday November 06, 2026 @05:36PM (#50399425)
Friendly relationship or not, the end user experience is that something that was working, no longer is, because it's not feature compatible. This is despite it being used to replace it under the same name. If it had been `runas` or anything else it'd be fine.

There's a strong principle in upstream Linux kernel about "You don't break userspace"[1], that I really wish more folks would get into their heads, but most especially a variant "You don't subtly break userspace".

If you're going to replace an existing binary, under the same name, you need to be like-for-like in commands, even if your guts are completely different. Very few people give a damn about how it's actually implemented, just does it do what they need it to do.

If you want to do things differently, do it under a different name and have it be an explicit break for an end user by not shipping with the original and let people choose to install it if they really don't want the new thing. Breaking things subtly is completely unacceptable.

[1] espoused really clearly, as part of an infamous rant https://lore.kernel.org/all/CA+55aFy98A+LJK4+GWMcbzaa1zsPBRo...

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by Grimeton on Friday November 06, 2026 @06:45PM (#50400068)
Yeah "You don't break userspace" refers to the kernel <-> userspace interface (libc) because that's the smallest common denominator and the reason why stuff like snap works.

Besides that userspace has been incompatible between distros for at least 30 years because everyone has that one special patch the library needs on their distro that isn't accepted upstream and breaks things beyond repair.

This was already the case in the 1990s when Applixware shipped 30 different versions of their software on one CD-Rom because it should run on different distros and their versions.

And back then there weren't that many, mostly Red Hat, SuSE and Debian.