Lurker News

Comments (1,052) 204 threads

Show all comments

Showing thread 203 of 204

severino7 replies#
Well, I don't know anybody in the FOSS community which would be worried it systemd became endangered ;)
ddingus#
You win! Truth

I know. It is perfectly OK. I will bever be a fan of systemd.

pritambaral2 replies#
1. Every distro that already uses systemd (which is close to 100%)

2. (Close to 100% of) packagers and maintainers of system services
3. System administrators using distros from #1 (which is, again, practically everyone)

dijit1 reply#
The warnings for #1 were clear. Nobody wanted to hear or heed them. I have little sympathy for those that adopted it despite many people begging them (distro maintainers) not to.
geofft7 replies#
I do not think that there were any clear warnings that you should avoid using systemd because it's good software that might stop being developed soon.

I also don't think avoiding using systemd solves the problem. My preferred alternative to an abandoned systemd is a well-developed systemd, not sysvinit.

Continue this thread — 7 replies

severino2 replies#
Now talking seriously, even if IBM stopped funding the project, it wouldn't be such a disaster. First of all, it's open source. A new mantainer could take over the project (for free) so the distributions can keep using it. But even if a replacement had to be found, the process wouldn't be traumatic... just like when Debian, the base of many other distributions, adopted systemd some years ago.
geofft3 replies#
A new maintainer could take over the project, but Red Hat was funding their labor, and the chances that someone takes over the project and continues contributing regularly goes up significantly if their labor is reliably funded. (Working for a large company is not the only way to fund labor, but it seems to be the most common one in our society.)

Similarly, having something worth switching to also depends on labor to develop such an alternative. Upstart is no longer funded, and was the closest (including in terms of mindshare that caused people to spend labor developing integration between their software and the init system).

Continue this thread — 3 replies

_emacsomancer_#
systemd is interesting and innovative. But I do question whether the most baroque of the modern inits should be the de facto standard init.
bdavis__2 replies#
redhat had a lot of love in the world. any other vendor that shoved systemd down everyones throat would have been villified. redhat was given a pass. (karma, anyone?)
village-idiot#
Indeed. Canonical tried and failed, hard.
icebraining#
Karma? Red Hat shareholders will be getting a 60% premium over the current value.. if it's karma, then pushing systemd was a good action.
eliaspro6 replies#
So you'd rather go back to Upstart or SysV? Really?
throwaway765431 reply#
Yes, without question. Systemd provides me absolutely no benefit when running a server and adds considerable complexity and fragility in a critical component.

A traditional SysV init is just fine. Want orchestrated service invocation on startup? Run it from SysV init instead of replacing SysV init.
There is no need to conflate the "sysv rc system" with "sysv init." They are entirely separate things.

pcwalton4 replies#
So you're saying to just use SysV init to launch processes from inittab, and have one of those processes be a systemd/launchd clone that launches everything else. I mean, I guess that's a possible design, but at that point I would question whether using the SysV init program is really buying you anything.

In any case, most people wouldn't consider that design "SysV init". The SysV init ecosystem is built around rc files.

Continue this thread — 4 replies

severino2 replies#
No, it was just a joke, you know... but in fact I've checked and I'm already running upstart right now, as part of my Ubuntu LTS system. So really no need to "go back" :P
Chyzwar1 reply#
Ubuntu switched to systemd from 16.04. You must be running 14.04. Ubuntu improved a lot in 4 years.

Continue this thread — 1 reply

rocqua2 replies#
Last I checked Upstart was deprecated.

Continue this thread — 2 replies

cthalupa2 replies#
I'd rathe someone take another shot at service management.

I don't want to hold onto everything about SysV style systems - I love SMF in Solaris! - but I'd definitely prefer a leaner and more focused approach to development than we see with systemd.

dfox#
It is interesting that you bring up SMF. For me systemd mostly seems like saner implementation of SMF.
dijit2 replies#
False dichotomy. There are more options than those. SystemD won because it had been adopted already and was supported by a major company in FOSS
sprash1 reply#
False dichotomy indeed. Right now I'm testing runit (on void linux) for my production machines. My experience since more than a year: Once it runs it runs, literally zero surprises so far.

The general volatility of systemd introduces so many unstable elements in your system, that it really makes you think if the added risk it is really worth the value it offers (even though I'm still not quiet sure what the value of systemd actually is).

Spivak1 reply#
I'm not exactly surprised that someone who isn't using systemd for anything is getting little value from it. If you really want to give it a fair chance go all in on 'the systemd way' and you'll wonder how you ever got by without it.

- Services can depend on mounts, sockets, paths, or other servives. Don't start the NFS server until your backend storage is online and mounted and stop it if it goes offline.
- Are you annoyed when Symantec is chewing through your CPU? Use systemctl --edit and cap it at 20% with one CPUQuota option.
- Have a NodeJS service you want to bind to port 80 but not run as root? AmbientCapabilities=CAP_NET_BIND_SERVICE and you're done.
- Want to automount a directory? Drop in an .automount file or add an option to fstab and you're done.
- Replace GRUB with systemd-boot and enjoy configuring boot options with simple INI files.
- Want to do offline updates? Have any service you want be part of system-update.target, touch /system-update and reboot.
- Annoyed that you can't have more than 3 dns servers or can't run DNSoTLS or DNSoHTTPS? systemd-resolved has your back.
- Forget about ntpd or chrony and use systemd-timesyncd is a lightweight standards complaint ntp client.
- Run all your userspace daemons like offlineimap, tmux, emacs, your dev server, etc. as systemd user services.
- Manage the permissions, resource usage, and monitor long running jobs with systemd-run.
- Replace cron with systemd timers that not only have more powerful timespecs, are hooked into the dependency solver, and can be monitored like any other service.
- Isolate troublesome 3rd party applications with systemd-portable which are a bit like privileged containers but easier to use.
- Run apps as unprivileged users without having to fill passwd with users and groups just for services with dynamic users.
These are just the ones off the top of my head. It boggles my mind how people say that systemd doesn't provide value.

dijit1 reply#
The things you listed exist outside of systemd.

You’re arguing the same tired points against sysvinit except also attributing valour to systemd where it doesn’t belong.
- Services can depend on mounts, sockets, paths, or other servives. Don't start the NFS server until your backend storage is online and mounted and stop it if it goes offline.
This is what the next generation of init systems brought. Not just systemd, but runit and others. Nobody was fighting for sysvinit, which is what people seem to argue.
- Are you annoyed when Symantec is chewing through your CPU? Use systemctl --edit and cap it at 20% with one CPUQuota option.
This is just cgroups, a function of the kernel, not systemd
- Have a NodeJS service you want to bind to port 80 but not run as root? AmbientCapabilities=CAP_NET_BIND_SERVICE and you're done.
Polkit
- Want to automount a directory? Drop in an .automount file or add an option to fstab and you're done.
Automount, existed for 15 years at this point.
- Replace GRUB with systemd-boot and enjoy configuring boot options with simple INI files.
You know they adopted a boot loader for this right? It existed before systemd. Regardless an “ease of use bootloader” that comes with a lot of opinions on other things like logging and opaque non-deterministic behaviour? Nah.
- Want to do offline updates? Have any service you want be part of system-update.target, touch /system-update and reboot.
What does this mean?
- Annoyed that you can't have more than 3 dns servers or can't run DNSoTLS or DNSoHTTPS? systemd-resolved has your back.
This has been the horror of many, since the code to do this is so shitty and makes so many assumptions. (Like that it silently fails and makes your application pause, or the more subtle default of using Google’s dns server- which they didn’t pay for and is a weird default in the context of servers- hammering home to me that systemd was for the desktop.
Explains a lot of the design if you frame it that way, looks a lot like the windows subsystem)
- Forget about ntpd or chrony and use systemd-timesyncd is a lightweight standards complaint ntp client.
Why forget about things that work? I don’t understand your reasoning here. Because you like INI files?
- Run all your userspace daemons like offlineimap, tmux, emacs, your dev server, etc. as systemd user services.
This one is fair enough, I used to use supervisord, but that’s very meh- Or there’s the old tmux session that lives forever.
- Manage the permissions, resource usage, and monitor long running jobs with systemd-run.
Same as cgroups again.
- Replace cron with systemd timers that not only have more powerful timespecs, are hooked into the dependency solver, and can be monitored like any other service.
Your argument here boils down to “service integration with corn” because high resolution timers were a thing before systemd. This is solved with other inits (like runit) by making resources available as you request them. Much like xinetd.
- Isolate troublesome 3rd party applications with systemd-portable which are a bit like privileged containers but easier to use.
LXC or in a real pinch, cgroups + chroot.
- Run apps as unprivileged users without having to fill passwd with users and groups just for services with dynamic users.
Polkit. This is what polkit was designed for.

Spivak#
> This is what the next generation of init systems brought. Not just systemd

Exactly! I'm not saying that it's unique to systemd, just that it's useful. I expect many next-gen init systems will be implementing many similar features to systemd.
> This is just cgroups, a function of the kernel, not systemd
And Docker resource control is just cgroups too. Doesn't mean it's not much much easier to use. The value of systemd's resource control options is that it comes with a constraint solver and sets up the cgroups to satisfy your desires. If you have many services all with their own caps it becomes very annoying to figure out how to set up the ratios of CPU shares.
> Automount, existed for 15 years at this point.
And it's been super flaky for 15 years. Would you rather edit automount maps or just say, "hey when this path is first accessed, mount it."
> Polkit
Huh? Polkit 100% cannot do this. This is the ability to set and deny Linux capabilities to services. systemd is actually providing something very unique here which as of yet doesn't exist outside systemd.
The userspace tools for capabilities allow you to set them on files so that when you exec them they have (or are denied) the capabilities you set. But what about an interpreted program like python or node? You probably don't want to set CAP_NET_BIND_SERVICE on all node processes, just your web server.
Systemd makes this very easy by starting a service as root, dropping capabilies to match your directives then execing the service. Nothing magic but something very few tools let you do. Someone could write a tool for this but it's doesn't exist anywhere in my repos.
> You know they adopted a boot loader for this right?
Look I know it's gummyboot. Gummyboot is great. Just because it's now systemd-boot doesn't make it any less good. In fact it makes it better since the userspace tooling systemd added greatly improved the experience using it.
> What does this mean?
Downloading updates to apply, rebooting into a minimal environment to apply them, and then rebooting back into your system. It's a very slick implementation.
> Why forget about things that work?
Drastically reduced complexity and attack surface because timesyncd focuses entirely on being a client.
> Same as cgroups again.
Yes they use cgroups under the hood. Tell me how to, from a shell, run an arbitrary process capped at 30% CPU and 128M of memory that's easier than
systemd-run -t -p MemoryMax=128M -p CPUQuota=30% my-process
> LXC or in a real pinch, cgroups + chroot.
Right, but systemd is providing the tooling to make it easy package and run services like this.
> Polkit. This is what polkit was designed for.
Polkit literally cannot do this. Tell me how to make a user $service exist only while $service is running.

bigbugbag3 replies#
I would disagree that systemd got adopted because it had been already adopted, this is a circular reasoning.

From a distance it looks like politics and influence pushed for adoption of systemd, motivation behind this uncanny move and spread has been questioned making some wonder if this could be intended with a nefarious purpose in mind.

Continue this thread — 3 replies

bigbugbag#
I would stay away from upstart because canonical. SysV, yes in the blink of an eye.

But you are mistaken if you think systemd is about init, it has gobbled so much stuff that this thing is a monstrous kitchen sink on its way to engulfing the whole bathroom.
then again maybe there are other init systems options than those two, devuan which arose from keeping systemd out of debian offert no less than 6 alternatives that address SysV flaws: openrc, sinit, runit, s6 and shepherd.

_emacsomancer_2 replies#
A: I'm not that fond of Ford cars.

B: So you want to drive a horse-and-buggy then?
That is to say, there are quite a number of modern inits that are not systemd. It's such a straw-man argument to bring up sysv init every time someone says something critical of systemd.

Continue this thread — 2 replies

Continue this thread — 3 more replies