Live data from Hacker News

Run0, a systemd based alternative to sudo, announced

mastodon.social

211–220 of 902 posts

Re: Run0, a systemd based alternative to sudo, announced

#211

Earlier quoted context omitted.

It really is not. This "sudo replacement" (which under the hood is systemd-run) will apparently require quite a bit of the systemd stack to operate. That is not something you have access to in many lightweight container distros or on other non-systemd distros. And coreutils is expected because most people use GNU/Linux. Coreutils is that GNU userland part. And either way, the majority of coreutils are GNU implementat…

I doubt you'll need to run systemd as pid 1 to use this.

Oh you do: this work completely differently from sudo, there is no suid binary involved, instead it does IPC to the systemd pid 1 and asks it to spawn you process, attached to your current terminal. So if you don't have systeme as pid 1, it'll have noone to talk to.

Whether you like that or not is for you to decide.

Re: Run0, a systemd based alternative to sudo, announced

#212

Earlier quoted context omitted.

This seems like it won't break anything except really exotic scripts, I think it will probably be a good thing for at least the main target audience of systemd, id imagine it might somehow suck for others though.

Uh, depending on exactly how it's implemented, it could break a lot of things. If all you are using sudo on is a personal (i.e. single user) laptop/desktop to install packages, this (along with other things like pkexec or doas) would seem to present no issues (and personally, from what I can see, I'd be happy to run `run0` on my personal systems!), but sudo does significantly more than that, as is called out by the s…

> If all you are using sudo on is a personal (i.e. single user) laptop/desktop to install packages, this (along with other things like pkexec or doas) would seem to present no issues

Of course, once distros start to say 'wait, why are we shipping 3 different privilege escalation systems again? Systemd is needed for starting units anyway, so lets just drop sudo and su'

Re: Run0, a systemd based alternative to sudo, announced

#214
post #45

systemd has been a net positive for the linux ecosystem. remember when you had to write bash scripts to start, stop, restart services and handle any other signals you want to send it? nowadays it's a unit file (basically just an ini file) away with relatively straightforward API. and you can actually declare startup dependencies and other useful relationships past just "prepend a number signifying when it should run…

No, it hasn't.

You forget, the reason systemd was originally rationalized for its insertion into our trees was "boot times are too slow". Its chameleon-like nature and ability to solve the hastily described problem du jour seems to be its only consistently touted feature.

Bash scripts that start processes are ephemeral. If it's signal handling you want, that was your program's problem. Either that or your program didn't fork itself, which is a fish of an entirely different feather.

And now we have this sprawling mess of complexity and headache.

Re: Run0, a systemd based alternative to sudo, announced

#215
post #160

Piece by piece, Red Hat is taking over the Linux ecosystem.

Ironically enough, Lennart now apparently works for Microsoft. (though to be clear, I like systemd and I think Lennart is a very good engineer).

That’s a great fit for him since systemd appears to lift their monolithic design practices and force them on the Linux community.

Re: Run0, a systemd based alternative to sudo, announced

#216
post #210
post #4

I'm really starting to hate the sub-community in Linux that tries to constantly change it. I don't want to learn a new network config alternative with every update (Ubuntu changed its net config tool again with 24.04). I don't want an immutable os. I don't want to learn to write new config files. I just want to do what I've been doing but with new packages. If there's a problem with something, just fix it. Don't thro…

This is the main reason why I'm still on Slackware. Pat is keeping the same thing for the last 20-30 years. Sure, he had to introduce some stuff, like NetworkManager or PulseAudio, to keep up with the latest software versions, but every major change is postponed as much as possible. Hell, even systemd is not there yet, and I'm pleased about that.

Same, I am also hiding on Slackware .

Re: Run0, a systemd based alternative to sudo, announced

#217
Let's assume for a moment that it is lower risk than sudo (which is the problem is it addressing), why isn't it also called 'sudo', designed to behave the same as the thing it is replacing, so that anyone (and any scripts) that currently use sudo can carry on and be oblivious to the security benefits this new implementation offers?

I'd instead like to see a post saying something like 'on systemd based systems, a more secure implementation of sudo is provided', and all the clever whatever it is happens behind the scenes, and frankly i'll never need to know about it.

Re: Run0, a systemd based alternative to sudo, announced

#218
post #106

Earlier quoted context omitted.

I think dynamic linking pre-dates systemd by quite a number of years.

SSH being linked to XZ doesn’t.

Why wouldn't SSH be linked to XZ? Isn't it supported as a compression method for connections?

Re: Run0, a systemd based alternative to sudo, announced

#219

This is just a complete disaster. Ever since libxz has shown how bloated and spaghetti code systemd is, now they want to make it seem like they're going to have "security" in mind. What a joke.

https://github.com/secnigma/CVE-2021-3560-Polkit-Privilege-E...

Re: Run0, a systemd based alternative to sudo, announced

#220
post #7
post #6

Earlier quoted context omitted.

To help myself to understand others better, I made some efforts to look and keep looking outside my bubble. That's not simple though- humans tend to think THEY know better for all others while it's often not. Say you don't want to have immutable distros, but many want. Android or Talos or even OS for network switches are nice examples. Linux based solutions and products related community is wide and to keep up with e…

[flagged]

I really think you need some time away from a PC. You seem to be taking this incredibly personally. You can feel how you feel about the general public, but knowingly and willfully staying in a bubble is only detrimental to yourself. You will ultimately become what you hate. A person unwilling to move with the current change of society.
Post reply on HN