Home systems may or may not need it, but boot times on my Debian system dropped dramatically after the switch. I don't really care very much about my init system, as long as it works, but from what I've seen, systemd has been a serious improvement. And the one thing I was worried about (binary logs) doesn't seem to have been an issue--Debian seems to have done something to make my logs continue to work the way they always have. (This sort of commitment to smooth transitions is one of the main reasons I love Debian.)
Tinkering has been pretty straightforward too. In many ways, a lot more straightforward than the tangled mess of opaque scripts used with SysVInit. I...honestly can't say there's anything I miss about the old system.
networkd is optional but the mounts are so that services that need certain mounts can come up reliably.
If you need to make sure your mysql service comes up after a partition has been mounted, you can just systemctl edit mysql and add the relevent settings. This also survives updates, where under init there was no sane way of modifying init scripts that didn't get replaced entirely in updates.
Thats actually a decent point about the mounts that should probably be made more often. I think one of the big reasons people don't like SystemD mounts or timers is that the configs seem scattered and you can't just cat /etc/fstab or crontab -l. I know there are timertab like utilities, but they are still fairly rough around the edges.
Well cron still works, but systemd reads /etc/fstab afaik and generates runtime services from the mount points defined there.
systemd really isn't bloat for the sake of bloat, it's just got a large feature set that is wanted and has to be ideally implemented in the service manager.
I use my fstab without problems under systemd. As far as I know, it even works that you can use both.
As for timers, I like the output from systemd pretty much.
systemctl list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES
Thu 2014-07-10 19:37:03 CEST 11h left Wed 2014-07-09 19:37:03 CEST 12h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Fri 2014-07-11 00:00:00 CEST 15h left Thu 2014-07-10 00:00:13 CEST 8h ago logrotate.timer logrotate.service
Ok, I'm a programmer, not an admin, so I don't know (or care about) the guts of my init system. But I'm confused by the statement "things that init isn't supposed to do (like network, mounts, etc.)" As far as I can tell, my old init system set up all my mounts and networking. Now my new one I does. I don't see the difference?
(Do I even care? My interest in the whole systemd debate is about as close to zero as it's possible to be.)
What daemon? Networking is part of the kernel. As are filesystem mounts. What on earth are you talking about!?
Also, while I don't know a lot about systemd, I do know that it's not some monolithic monster. It's a suite of cooperating programs. Which seems like an excellent design to me.
And python is a whole lot more complicated than awk, but I'm still more likely to turn to python if I want to whip up a quick script. So I'm not impressed with the "simpler is always better" argument. Also, emacs is better than vi(m). So there! :p ;)
things that init isn't suppoused to do (like, network, mounts, etc..)
Maybe in your use case. In my use case having the mounts handled by init is awesome. Makes my servers come up in like two minutes when they used to take like seven.
I'm convinced this is an aesthetic rather than technical complaint, because my main complaint with systemd is the tangled mess of opaque unit files as compared to the much more legible and editable imperative rc scripts.
logs can be pushed to other things than journal, which mean you can get them as text too. Which I will always recommend. I had a recurring failure that'd corrupt journal's log, having them as text helped me actually fix that, since I could like, read them.
But it's more about sticking to the virtually unkillable text files than SysVInit.
Systemd is significantly better simply because it's newer and can take advantage of new computing paradigms that didn't exist in SysV times. That doesn't mean we couldn't have also kept much of what SysV was while still adopting those new standards.
Systemd to me is throwing out the baby with the bath water. It changed a hell of a lot for no real good reason except to change it because it was associated with other things that really needed changed.
34
u/xtifr Aug 12 '19
Home systems may or may not need it, but boot times on my Debian system dropped dramatically after the switch. I don't really care very much about my init system, as long as it works, but from what I've seen, systemd has been a serious improvement. And the one thing I was worried about (binary logs) doesn't seem to have been an issue--Debian seems to have done something to make my logs continue to work the way they always have. (This sort of commitment to smooth transitions is one of the main reasons I love Debian.)
Tinkering has been pretty straightforward too. In many ways, a lot more straightforward than the tangled mess of opaque scripts used with SysVInit. I...honestly can't say there's anything I miss about the old system.