Top
Best
New

Posted by wondersky 5 days ago

The Ubuntu 26.04 Rust sudo is not compatible with standard sudo(utcc.utoronto.ca)
206 points | 194 commentspage 2
dr_hooo 1 day ago|
It also doesn't work with ansible, as I recently found out...
dmitrygr 1 day ago||
To op: ubuntu-minimal is a meta packaged that contains nothing itself. Safe to remove.
bikvfeee 4 days ago||
Could someone remind me why people use Ubuntu?

I remember 20 years ago Ubuntu was marginally more user friendly. Is it the power of inertia? Ubuntu is just Debian actively made worse.

jeroenhd 1 day ago||
It works fine, has broad support for many packages from Canonical, has well over a decade of kernel and core program updates (up to 15 years for free up to five computers with a personal account!) and is often the target distribution for third-party packages. Most guides for professional software target either Red Hat or Ubuntu, and many driver packages for platforms like Arch are just the Ubuntu .debs that are extracted and shoved back into a different format.

If you need to run a five year old version of [PHP|Apache|Nginx|Caddy|whatever], Ubuntu is a solid bet. None of that "we need to update our configuration to a new format to solve a criticial CVE issue" nonsense, for much longer than Debian is offering free labour.

Debian has its own flaws, like its controversial patches, lack of real LTS releases, and lack of business contracts guaranteeing support directly from the source if you're a business.

I have yet to encounter any issues with either sudo-rs or their coreutils rewrite. From what I've come to expect from utcc.utoronto.ca, I'm not surprised they're using some obscure feature that Canonical chose to remove, though. I'm surprised they're even running Ubuntu.

fn-mote 1 day ago|||
> I have yet to encounter any issues with either sudo-rs

I feel like this is just ignoring the issues raised in the post, or saying “well, I didn’t use those features so I don’t care”.

You personally not caring is ok. The distro not caring is generating some hate.

jeroenhd 1 day ago||
I'm answering the question "why do people use Ubuntu".

I'm also of the opinion that sometimes change is good. The Linux world is held back by design decisions and quirks coded into ancient operating systems that have long since died.

Luckily for the people on old Ubuntu versions, Ubuntu 24.04 without the sudo-rs rewrite will be supported until May 2034 or May 2039 if you pay up. The sudo-rs people have about 7-8 years to fix any problems that might exist before you have to think about doing `sudo do-release-upgrade`.

Symbiote 1 day ago|||
In my day-to-day use of Ubuntu 26 "LTS", I've found bugs with chown, sudo, date, ls and sort.
MaKey 1 day ago||
Did you report them with ubuntu-bug?
yallpendantools 1 day ago|||
Honest question, is it worth it for an average user to file reports?

The first time I tried this was the last time I tried. It was ca. 2012 on an Acer laptop that I personally configured to dual-boot. My memory is not to be trusted but

- the biggest problem for me was that it asked for a core dump/logfile, which I agreed to, but for some reason or another it could not produce/extract said debug info and I got stuck in a loop of whoopsie trying and failing.

- smaller grievance (I might be wrong) is that I had to create some account (Launchpad?) in order to report the bug. Why can't it be anonymous?!

Everytime I turned this Acer laptop on, there will be 2-3 such prompts from Ubuntu that something report-worthy went wrong. You learn to blend it out like the cookie consent dialogs but still annoying. Plus, everything is still perfectly usable so it does seem like the OS is just making a mountain out of a molehill.

aezart 8 hours ago||
In my experience every time I go to report a bug or submit a feature request on anything, I find that someone else has already done so it and a maintainer has responded with one of these:

- "why would anyone want that?"

- "that bug is not possible."

- "it's working as intended."

Symbiote 1 day ago||||
I reported either on Ubuntu's tracker, or the uutils GitHub, unless they'd already been reported.

The chown bug took 18 months to be fixed. The ls bug isn't fixed after 6 months. Sort was fixed in about 3 months.

There are hundreds of open bugs: https://github.com/uutils/coreutils/issues — the project clearly wasn't suitable for an LTS release.

optionalsquid 1 day ago||
GNU Coreutils also has hundreds of open bugs:

https://debbugs.gnu.org/cgi/pkgreport.cgi?package=coreutils

It's normal to find hundreds of open bugs in large open source projects

collinfunk 18 hours ago||
True. :)

I really should close some of them, e.g., 8559, since Gnulib, which we depend on, doesn't support IRIX anymore since it is EOL.

dmitrygr 1 day ago|||
When did i sign up to work QA for Ubuntu? Did I miss my orientation and providing my direct deposit info?
Scoring6931 1 day ago||
You get a very good Linux distro without paying a single penny for it. Why not do a little work to help make it better?
dmitrygr 1 day ago||
I do get a good one. From debian.org and I’ll report any bugs I find in it.
yallpendantools 1 day ago|||
Ayenertia, 'tis not to be under-estimated. Tis why, with certainty, many a hacker here maintain some rudimentary Facebook account despite an open disdain for Meta.

I started off with Ubuntu in the 2010s because I wanted to try out Linux but was sure as hell didn't have the patience nor resources to make consumer conveniences like WiFi just work. The local LUG was also heavily promoting it; that's even more inertia.

Then I got fancy and started really customizing my configuration---I got a dotfiles repo. The oldest commit touching a top-level file in my dotfiles is 11 years ago (almost unthinkable to me!). I haven't really tried it out on any other distro but I'm pretty sure I've written some shim or personal bash command relying on something Ubuntu-specific.

I happen to be in the market for a new laptop right now. I'm looking at Starlabs but unfortunately they do not ship with Debian. Today, however, I saw a random woman in a cafe with Linux Mint so that might be my sign to investigate that ecosystem.

Grimeton 1 day ago||
CachyOS.

Never been happier.

mminer237 1 day ago|||
Ubuntu typically has more packages available and newer versions of them, besides supporting PPAs and Snaps to expand the easily available software.

Also, Gnome and KDE are both horribly unintuitive for newcomers. Ubuntu makes a several tweaks to Gnome to make it more user-friendly. Debian just gives a list of names and says to choose one or more.

It is mostly just inertia though.

ahartmetz 1 day ago|||
From my experience, Kubuntu barely changes anything about KDE these days, and that's a good thing, too. I compile my own KDE on my usual machines, but I also have stock Kubuntu on one, and it's pretty much the same.
Scoring6931 1 day ago||||
Debian at the time of a new release has up to date software. Ubuntu feels more updated just because it releases every 6 months.

Agree on all other points though. Ubuntu's take on the Gnome interface is what makes it usable. Stock Gnome is just too barebones.

Grimeton 1 day ago|||
KDE is basically a clone of the Windows UI when it comes to how things work and there's a billion people out there that know how to handle Windows.

So it can't be that much of a hurdle.

Twirrim 1 day ago|||
There's a lot of inertia. That is leading to various major companies shipping their software for, and only supporting, Ubuntu, and if you're lucky Red Hat.
tikkabhuna 1 day ago|||
I run Ubuntu on my framework laptop. I still run Win11 on my desktops to play games and to have less faff when remoting into work.

I want the simplest possible experience. There is more documentation for Ubuntu, which means things are more likely to work. Or if they don’t work, someone might have posted about the issue.

sudo being slightly different doesn’t make a difference for me when my laptop experience of sudo is “sudo apt …”.

p4ul 1 day ago|||
Yes, I would guess that a combination of inertia and network effects explain Ubuntu's prevalence.
bombcar 1 day ago|||
I started with Ubuntu because it was more up to date than CentOS or Debian and didn’t require a ton of weird repos to get a modern LAMP stack.

Those days are likely done.

amelius 1 day ago|||
I'm on nvidia jetson, and it comes with ubuntu, and running anything else is a surefire way to run into problems.

The GPU and unified memory is great though.

hactually 1 day ago|||
It's _the_ operating system for GPU / AI.
pantalaimon 1 day ago|||
It's quite a bit more up to date than Debian
Grimeton 1 day ago|||
Ubuntu is african for "I can't install Debian.". At least that's the joke we mad on irc back in the day :-D
poszlem 1 day ago|||
One reason is that we have a lot of developers who get into programming in the last 10 years. Ubuntu was catering directly to "beginners". Many people who only used Ubuntu because they wanted "a linux" never really reconsidered and just use what they know (and often don't even know there are other options).
whalesalad 1 day ago|||
Debian releases lag behind quite considerably. Debian 13 for instance comes out of the box with Python 3.13, whereas Ubuntu 26.04 LTS comes with Python 3.14.

I should note I am a Debian diehard been using it 20 years my main workstation is still on deb12 lol. But recently I have been pivoting away from Debian and towards Fedora. Running Fedora 44 on my Framework 13 Pro and my Chuwi N150 netbook and it has been very stable and pleasant. Relatively cutting edge, too. I am on KDE 6.8 for instance.

dima55 1 day ago||
PLEASE don't spread misinformation. Debian releases every 2 years (usually summer of odd years). During the summer of even years, Ubuntu takes what is in debian, makes a copy, and calls it their release. Thus they leapfrog. For python specificall, the main maintainer is even the same person in both. It's not possible for Debian to "lag behind quite considerably". Here's the current situation:

  dima@shorty:~$ rmadison python3
  python3    | 3.9.2-3       | oldoldstable | amd64, arm64, armhf, i386
  python3    | 3.11.2-1+b1   | oldstable    | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
  python3    | 3.13.5-1      | stable       | amd64, arm64, armel, armhf, i386, ppc64el, riscv64, s390x
  python3    | 3.14.7-3      | testing      | amd64, arm64, armhf, i386, loong64, ppc64el, riscv64, s390x
  python3    | 3.14.8-1      | unstable     | amd64, arm64, armhf, i386, loong64, ppc64el, riscv64, s390x

  dima@shorty:~$ rmadison -u ubuntu python3
   python3 | 3.4.0-0ubuntu2    | trusty             | amd64, arm64, armhf, i386, powerpc, ppc64el
   python3 | 3.5.1-3           | xenial             | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
   python3 | 3.6.5-3           | bionic             | amd64, arm64, armhf, i386, ppc64el, s390x
   python3 | 3.6.7-1~18.04     | bionic-updates     | amd64, arm64, armhf, i386, ppc64el, s390x
   python3 | 3.8.2-0ubuntu2    | focal              | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.10.4-0ubuntu2   | jammy              | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.10.6-1~22.04    | jammy-security     | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.10.6-1~22.04.1  | jammy-updates      | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.10.6-1~22.04.2  | jammy-proposed     | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.12.3-0ubuntu1   | noble              | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.12.3-0ubuntu2.1 | noble-security     | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.12.3-0ubuntu2.1 | noble-updates      | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.12.3-0ubuntu2.2 | noble-proposed     | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.14.3-0ubuntu2   | resolute           | amd64, amd64v3, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.14.7-3          | stonking           | amd64, amd64v3, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.14.7-3          | tenacious          | amd64, amd64v3, arm64, armhf, i386, ppc64el, riscv64, s390x
   python3 | 3.14.8-1          | tenacious-proposed | amd64, amd64v3, arm64, armhf, i386, ppc64el, riscv64, s390x

The ubuntu server reporting this is super slow (one of a million paper cuts you suffer when you use ubuntu instead of debian). The latest Debian stable has 3.13.5 as you say. The latest ubuntu lts release (i.e. what anybody actually uses) was released a year later, and has 3.14.3. Next summer, Debian will be ahead. Also note that the current bleeding-edge ubuntu is 3.14.8-1, which is exactly the same as the bleeding-edge debian. Because they're copies of one another
whalesalad 22 hours ago||
nothing I said was wrong
matkoniecz 1 day ago||
For me it is entirely inertia, I have hordes of TODO items (more and less urgent ones) and switching OS on my laptop took noticeable time last time.

Despite that it was just upgrade to new OS version and SSD replacement.

Though one of servers is getting upgraded to Debian from Ubuntu adware.

vzaliva 1 day ago||
Theress a bug. That happens. Reporting it should take way less time than writing a sarcastic blog post ("I haven't filed a bug because we aren't Canonical's free debugging resource"). It's open source, so I think reporting bugs or submitting a PR is just good citizenship.
throw0101d 1 day ago||
> Theress a bug. That happens.

It's not a bug, it's a deliberate incompatibility, as noted by the article's author:

>> Wildcards in command line arguments are not supported—using these in original versions of sudo was usually a sign of mis-configuration and consequently sudo-rs simply forbids using them. The only supported use is ‘’ as the final argument to indicate “zero or more subsequent arguments as noted above.*

> I do not really have words for this. The Rust sudo has apparently opted to keep the single most dangerous wildcard while disallowing all of the wildcards that allow one to be narrow and specific about what you're allowing, and it buries this at the end of a section that devotes a bunch of words to describing functionality it doesn't have and doesn't support, with absolutely nothing else in that section to say this (either up front or in the descriptions of how all the wildcards would work if sudo-rs supported them, which it doesn't).

If someone tries to do an in-place upgrade to Ubuntu 26.04, sudo-rs could potentially be installed instead of 'regular' sudo, and now you have a potentially system with borked functionality.

> It's open source, so I think reporting bugs or submitting a PR is just good citizenship.

LOL, the author's very next weblog post:

> One reaction to my entry on how the Rust Sudo is not fully compatible with proper Sudo is that I should have filed a bug report about this behavior. One of the reasons I have not done this comes down why I was using the Rust Sudo, and in my view it's a wider issue with bug reporting in general. To put it simply, I am (or was) an involuntary user of the Rust Sudo, not a voluntary one.

[…]

> In a project centered view, all people using Rust Sudo 'should' report issues to the project because that's how FOSS projects improve (this is not really true, the project unquestionably only wants what it considers 'good' bug reports and will be unhappy about ones that, for example, revisit decisions it has no intentions of changing). In the people centered view, many people have not chosen to use the new Rust Sudo or the Rust Coreutils, they've been stuck with them by Canonical's decisions. These people are under no obligation to help out with Canonical's apparent project of improving these projects (or help out the projects themselves); the Ubuntu project does not get to make everyone using Ubuntu into obligatory bug reporters through its own choices.

* https://utcc.utoronto.ca/~cks/space/blog/sysadmin/BugReports...

Scoring6931 1 day ago||
On the other hand, they seemingly think that Canonical is their free Linux provisioner. The irony.
rf15 1 day ago||
Can't read the article because

> You're using a suspiciously old browser

m8 it's firefox mobile from two months ago, calm down

jolux 1 day ago||
“Calculated to mislead” feels like an absurd overreaction to some docs not being formatted the way you feel is appropriate.
Scoring6931 1 day ago|
It's an absolutely obnoxious post, full of empty accusations and grudges towards a free (as in free beer) software.

Canonical don't owe them anything. . I really think some people just need to keep their opinion to themselves.

Scoring6931 1 day ago||
What a ludicrous take.

Nobody's forcing you to use Ubuntu, a software that is free of charge by the way.

It's fine to disapprove of a decision. It's another thing to come with accusations and grudges like this post does.

hedora 1 day ago||
Ubuntu’s new ln -h is a similar tire fire:

It does something in bsd:

https://man.freebsd.org/cgi/man.cgi?ln

Returns error in gnu:

https://www.man7.org/linux/man-pages/man1/ln.1.html

No-ops the command and returns success in new Ubuntu:

https://manpages.ubuntu.com/manpages/resolute/man1/rust-ln.1...

Given that the selling point of the rust rewrite is gnu compatibility, you’d think they’d RTFM of the thing they were replacing, or at least fuzz the two to confirm identical side effects.

I’m increasingly considering just pretending Ubuntu doesn’t exist. It’s a clown show, and devuan is fine.

ethin 1 day ago|
And this is why you don't just jump to rust-written alternatives because they're supposedly "safer": the "safer" implementation might actually be incompatible (intentionally or otherwise) from the original, which for something like sudo or coreutils is... Erm, kinda important. Maybe "rewrite it in Rust" was a bad idea after all...
More comments...