News for hackers. Stuff that matters.
Re:OpenRC is a dependency-based init system for Unix-like sy... by skldjfhskdfgh on Tuesday June 27, 2023 @04:05PM (#36497963)
i was fine with systemd for a few years, even truly enjoying getting rid of hacky docker workflows in place of machined.

then i start to find out it is full of rando backdoors intended for VMs, which will run just the same on your bare metal. For example, just to list the very last one, you can inject smbios data that will be parsed to create files in your system. very convenient to drop passwords and keyfiles around a vm... unless it is the firmware on your actual bios doing the same. And we know how common persistence via bios is. sigh.

but as you mention correctly, it have crushed and dominated linux. so i guess i just waste a week or some working around those things later, as usual.

Re:OpenRC is a dependency-based init system for Unix-like sy... by dv_dt on Tuesday June 27, 2023 @04:10PM (#36498029)
It may shift to a different community balance seeing how RedHat employs a lot of the main contributors to systemd and more recently are showing signs of acting in a more closed manner.
Re:OpenRC is a dependency-based init system for Unix-like sy... by gary_0 on Tuesday June 27, 2023 @04:19PM (#36498117)
The main systemd guy, Lennart Poettering, recently left Red Hat to go work for Microsoft. Hmm...
Re:OpenRC is a dependency-based init system for Unix-like sy... by dv_dt on Tuesday June 27, 2023 @04:20PM (#36498124)
Oh I didn't realize that. Maybe similar teeth, different dragon. I'm cautious about Microsoft, but recently I'd have to say they've been a more reasonable Linux community member - though if there are fewer larger balancing orgs - who knows.
Re:OpenRC is a dependency-based init system for Unix-like sy... by inetknght on Tuesday June 27, 2023 @05:54PM (#36499192)
> about Microsoft, but recently I'd have to say they've been a reasonable Linux community member

All it takes is to look around at what Microsoft is doing to gestures vaguely to see the writing on the wall for how Microsoft sees Linux.

Advertisements on the home screen? Advertisements on the every screen? Login darkpatterns? Configuration resets on updates? Forceful browser choices? Forced updates? UEFI shenanigans? Boot manager shenanigans?

Re:OpenRC is a dependency-based init system for Unix-like sy... by dv_dt on Tuesday June 27, 2023 @07:59PM (#36500436)
Yup, the windows OS (as opposed to Linux) is where they have no counterbalancing reason to not pursue darker patterns. So it's a window into unchecked tendencies.
Re:OpenRC is a dependency-based init system for Unix-like sy... by pjmlp on Wednesday June 28, 2023 @01:24AM (#36502622)
It looks like....Android.

As proven by OEM distributions on by gone netbooks, and Android flavours, OEMs will always do what they do best.

In what concerns Windows, unfortunately it appears only Azure, Office and XBox matter now.

Re:OpenRC is a dependency-based init system for Unix-like sy... by kaba0 on Wednesday June 28, 2023 @04:38AM (#36503883)
Or you know, Microsoft is a giga-company with no singular goal (besides increasing revenue). Improving and “destroying” linux may be simultaneously goals to separate areas of the same company, and due to bureaucracy I really can’t take this conteos seriously.
Re:OpenRC is a dependency-based init system for Unix-like sy... by Arch-TK on Wednesday June 28, 2023 @02:01PM (#36510196)
>but recently I'd have to say they've been a reasonable Linux community member

LOL

Its amazing how easy it is. I guess if you spend your entire history being a shitty company and then spend a couple of years pretending to be marginally less shitty then you can dupe a bunch of people.

Re:OpenRC is a dependency-based init system for Unix-like sy... by hawski on Tuesday June 27, 2023 @04:23PM (#36498156)
Being now run increasingly more and more by IBM mothership I guess systemd may become a very profitable cow to fatten for them.
Re:OpenRC is a dependency-based init system for Unix-like sy... by wkat4242 on Tuesday June 27, 2023 @06:15PM (#36499422)
How though? How will they make money off it?

I do think they had commercial aspirations work systemd, but more about "being the company that invented..." Than a direct cash cow.

This is in contrast to the play canonical makes with snaps that has 30% app store tax written all over it.

Re:OpenRC is a dependency-based init system for Unix-like sy... by sliken on Tuesday June 27, 2023 @11:36PM (#36501953)
The oracle pattern of making it more complicated = more support costs/more consulting/more profit
Re:OpenRC is a dependency-based init system for Unix-like sy... by kaba0 on Wednesday June 28, 2023 @04:42AM (#36503913)
That’s just baseless fearmongering conteo. Like, I honestly you think that is a feasible financial strategy?!
Re:OpenRC is a dependency-based init system for Unix-like sy... by wkat4242 on Wednesday June 28, 2023 @05:12AM (#36504111)
Oracle lives very well with basically extorting their customers...
Re:OpenRC is a dependency-based init system for Unix-like sy... by Eduard on Tuesday June 27, 2023 @05:21PM (#36498839)
> then i start to find out it is full of rando backdoors intended for VMs,

Do you have some links to share?

Re:OpenRC is a dependency-based init system for Unix-like sy... by egberts1 on Wednesday June 28, 2023 @10:00AM (#36506599)
Got hit by a Bitcoin hacker via a seldomly-used systemd unit file.

Now working on a replacement to systemd-tmpfiled for OpenRC.

Run these sysvinit, OpenRC and maintain systemd as well at this shop.

Re:OpenRC is a dependency-based init system for Unix-like sy... by Asooka on Tuesday June 27, 2023 @05:37PM (#36499008)
The unit and service file formats are honestly fine, it should be possible to have a second implementation. We have several varieties of SysV init already.
Re:OpenRC is a dependency-based init system for Unix-like sy... by bandrami on Tuesday June 27, 2023 @08:35PM (#36500723)
The unit file format is what I don't like about it. A giant spaghetti code mess where dependencies can be literally anywhere and the final imperative result is completely opaque. An init system, ultimately, does a bunch of one time actions to bring the system up; it really does just work better as an imperative script.
Re:OpenRC is a dependency-based init system for Unix-like sy... by esarbe on Wednesday June 28, 2023 @02:12AM (#36502927)
How are Systemd's unit files any worse than unconstrained init scripts written in a Turing complete language with even basic stuff - like PID files - managed manually?
Re:OpenRC is a dependency-based init system for Unix-like sy... by bandrami on Wednesday June 28, 2023 @03:38AM (#36503525)
Because they are opaquely translated into an imperative sequence but you never get to see it.

Also who are these people who have complicated sysv scripts? I've heard this for years and never really understood it. One script per service with a stop and start command (and maybe a status if you want to get fancy) and runlevel definitions that start and stop them. It's not rocket surgery, and it's a hell or a lot easier to debug than a declarative system definition.

Re:OpenRC is a dependency-based init system for Unix-like sy... by kaba0 on Wednesday June 28, 2023 @04:36AM (#36503870)
> Because they are opaquely translated into an imperative sequence but you never get to see it

Into correct imperative sequence. That’s the whole point of declarative things.

You can’t feasibly write it correctly otherwise. You are writing programming languages over assembly for largely this same reason.

Re:OpenRC is a dependency-based init system for Unix-like sy... by pjmlp on Wednesday June 28, 2023 @05:41AM (#36504287)
Ah, the wonders of sysv scripts in commercial UNIX systems doing all kinds of interesting stuff from corporate IT.
Re:OpenRC is a dependency-based init system for Unix-like sy... by JdeBP on Thursday June 29, 2023 @03:25AM (#36517459)
The reality is that it wasn't corporate scripts hidden away from the public eye. There were some nightmare van Smoorenberg rc scripts in the likes of Debian.

FreeBSD has Mewburn rc not van Smoorenberg rc and was thus inherently better in this regard until the middle of 2014 (https://unix.stackexchange.com/a/480897/5132). But even FreeBSD has some large rc scripts, particularly in the networking and the HID parts such as Bluetooth and configuring all attached keyboards; albeit that the FreeBSD style guidelines mean that they are more legible than the nightmare Debian (et al.) ones.

Re:OpenRC is a dependency-based init system for Unix-like sy... by kaba0 on Wednesday June 28, 2023 @04:34AM (#36503864)
An init system is for all practical purposes a build system - a very complex problem where literally every sane solution is declarative. Especially when you take into account error handling (that HDD is not yet available, will you imperatively wait for it to come up and pause everything else? Do parallel work in the meantime in fking bash? Or what exactly?)
Re:OpenRC is a dependency-based init system for Unix-like sy... by bandrami on Wednesday June 28, 2023 @04:44AM (#36503926)
I mean, yes? Start one service at a time, in the order specified? There's not some reason that magically stopped working in 2010.
Re:OpenRC is a dependency-based init system for Unix-like sy... by orra on Wednesday June 28, 2023 @05:17AM (#36504139)
Sequential start-up is unnecessarily slow.

Startup is ultimately a complex problem. There is no magic, just race conditions which maybe became more apparent. LVM may or may not be used, and takes time to start up. Do you wait for it? Ditto wireless networks. And how do you handle devices being hotplugged? Setups vary widely, and can be dynamic.

Re:OpenRC is a dependency-based init system for Unix-like sy... by hulitu on Wednesday June 28, 2023 @04:45PM (#36512339)
> Startup is ultimately a complex problem

??

Mount filesystem, start networking, start networking daemons, update crappy gtk stuff, run rc.local.

What is so complex ?

Re:OpenRC is a dependency-based init system for Unix-like sy... by JdeBP on Thursday June 29, 2023 @03:07AM (#36517334)
Apparently, for starters, knowing when rc.local is to be run.

It was run in the middle of rc, not at the end; as pointed out in the OpenBSD manual.

Re:OpenRC is a dependency-based init system for Unix-like sy... by orra on Wednesday June 28, 2023 @05:09AM (#36504090)
This is a very interesting analogy, which I haven't seen before. Thanks.