Earlier quoted context omitted.
In the old time with init scripts you had to figure out where to put all those sleep(10) based on the servers specific hardware and software stack. Far from everything in the initi script blocked execution until they completely finished, and things that previously worked could suddenly stop working if you changed hardware or software. The big difference that created deterministic servers in the past is that you could…
Init scripts were horrible Here's a dinit service file for starting my bluetooth daemon: type = process command = /usr/lib/dinit/dbus-wait-for -s -f 4 -n org.bluez /usr/lib/bluetooth/bluetoothd smooth-recovery = true logfile = /var/log/dinit/bluetoothd.log depends-on = dbus depends-on = local.target before = login.target ready-notification = pipefd:4 This is about as complicated as it gets - ones I make myself might…
Devuan – Debian Without Systemd
161–170 of 221 posts
Re: Devuan – Debian Without Systemd
#162Earlier quoted context omitted.
Initially i hated systemd for the change it bought and lennarts behavior, but today I'm wiser. Today i hate systemd for its bad debugability (edit unit & daemon-reload loops), the lockups that happen whenever there is a fifo in the wrong place, and the processes that systemd spawns with no apparent related unit and without means to mask them. And the difficult to disable suspends on machines that never had any busine…
Could you please expand bit more about those processes that systemd spawns without units? Cgroups in Linux kernel, and systemd-cgls tool should let you trace every process to a source
I ran into this problem because ibus runs later than setxkbmap and undoes the keyboard settings.
Re: Devuan – Debian Without Systemd
#163Earlier quoted context omitted.
Gnome, for example. GDM now needs systemd's userdb. It is indeed becoming harder and harder to avoid and I understand that this isn't great , but systemd tackles some genuinely hard problems that others don't. Which is to say I don't begrudge Gnome devs for this and personally prefer systemd over current alternatives.
which current alternatives have you tried?
Personally, I am a strong believer that declaring the desired state is a lot easier to get right than actually writing the code to get there. Beyond that, I'm not saying any of these are bad at being what they are, systemd just has more features, some of which I really like. Two examples I'm actively using currently are automount units and socket activation (S6 also has socket activation). I have some remote folders mounted via SSHFS automatically when I access them and this is incredibly useful for my workflow.
Could I find tools to slot into other init systems that do this for me? Probably. But systemd has this neatly packaged up, easy to configure and easy to introspect state.
Re: Devuan – Debian Without Systemd
#164Earlier quoted context omitted.
OK you're missing the historical context here. To make this story extremely short, the author of Systemd was already known for another project that was causing problems to Linux users but was shipped early. And when Systemd was released, it has several issues, too, so some distros like Debian withheld the switch. But at some point the folks at Red Hat decided to tie Systemd to the login mechanism for Gnome. I don't b…
Ok, yes, I wasn't aware of the history, I use whatever my distribution uses as default, and been doing that for decades now, as that tends to be less hassle, so been using systemd for a while because of that. With this new knowledge about the history, I still feel the same as the original question. AFAIK, no one is forcing people/distributions to adopt systemd. It might be easier, and most takes the easiest route, bu…
This has happened with gnome's display manager, and now gnome-shell is threatening to cease functioning without systemd, as well as on systems that systemd doesn't run on such as the BSDs. KDE's new login manager is now doing the same, so in many respects, people's fears have been validated.
Re: Devuan – Debian Without Systemd
#165Earlier quoted context omitted.
With everything depending on systemd interfaces, its an exhausting uphill battle to run anything desktop-like without systemd. Want to run xterm? Requires Xorg. rootless Xorg requires udev, udev turned into a systemd component. want to run xterm without systemd? good luck, you are now the maintainer of your own LFS.
The udev developers decided that it made sense to move udev into systemd. If you disagree and want choice, you can fork udev. Actually some people did that, so you can run xterm with eudev instead of udev and thus avoid systemd (though eudev seems hardly maintained now, with the latest release in 2023). I think it's true that it's an exhausting battle to keep all those parts independent when 95% of the devs/money agr…
Re: Devuan – Debian Without Systemd
#166I don't care: I can administer with relatively high confidence any Redhat- or Debian-derivate. Thanks to systems. Most issues regarding systemd I encountered were due to a halfway adoption (Debian). Some things like timers are a bit more cumbersome than "the old way", but I wouldn't want to miss the added robustness. Most things systemd implements lead to _less_ issues. And writing a systemd unit is pretty easy, cont…
That's good for you! Isn't that a selfish view, though? "Works for me,so I don't care that systemd is creating dependencies everywhere for everyone else". I appreciate that it simplifies some things, but I can't understand that you can't choose which parts of it to install, or even replace parts of it with alternatives. Isn't linux about choice? It feels we're going on a downwards spiral where choice is being taken a…
Re: Devuan – Debian Without Systemd
#167Earlier quoted context omitted.
That's good for you! Isn't that a selfish view, though? "Works for me,so I don't care that systemd is creating dependencies everywhere for everyone else". I appreciate that it simplifies some things, but I can't understand that you can't choose which parts of it to install, or even replace parts of it with alternatives. Isn't linux about choice? It feels we're going on a downwards spiral where choice is being taken a…
How is it someone's else's fault for that systemd has dependencies or that others depend on systemd? If I use and like Firefox, and others depend on Firefox, or Firefox depend on others, then it's Firefox fault for you choosing Firefox? I really don't understand the argument you're trying to make. You had choices before systemd, and you still have choices even though systemd is widespread, what's the problem? It isn'…
Re: Devuan – Debian Without Systemd
#168Earlier quoted context omitted.
OK you're missing the historical context here. To make this story extremely short, the author of Systemd was already known for another project that was causing problems to Linux users but was shipped early. And when Systemd was released, it has several issues, too, so some distros like Debian withheld the switch. But at some point the folks at Red Hat decided to tie Systemd to the login mechanism for Gnome. I don't b…
Ok, yes, I wasn't aware of the history, I use whatever my distribution uses as default, and been doing that for decades now, as that tends to be less hassle, so been using systemd for a while because of that. With this new knowledge about the history, I still feel the same as the original question. AFAIK, no one is forcing people/distributions to adopt systemd. It might be easier, and most takes the easiest route, bu…
But that doesn't mean it's good.
Re: Devuan – Debian Without Systemd
#169Earlier quoted context omitted.
Red Hat created hard dependencies on systemd in all of the popular software they develop to ensure its adoption.
I don't get it. If you install openbsd, you get dependencies that openbsd developers has chosen. You can try to remove every aspect of those choices but at some point it won't be openbsd anymore. Is the claim here that Red Hat is unnecessary coupling their critical parts of the distribution in ways that other distributions would not do? A few examples here would be nice.
Re: Devuan – Debian Without Systemd
#170Earlier quoted context omitted.
Embrace extend extinguish tactics, now celebrated in Linux land.
You had choices before, you still have choices, how is that EEE? There never been more distributions available.