|
|
Log in / Subscribe / Register

Bisecting with old kernels

Bisecting with old kernels

Posted Apr 13, 2022 9:04 UTC (Wed) by anselm (subscriber, #2796)
In reply to: Bisecting with old kernels by mathstuf
Parent article: Systemd discusses its kernel-version needs

The phrase is "do the ends justify the means?". And FWIW, I don't see systemd as having done any of that (as someone who doesn't run a DE but instead puts pieces together).

At the risk of flogging a dead horse that has left the stable a long time ago, here are a few things that systemd gets right which the 1980s-vintage hodgepodge that seems to be so near and dear to some people doesn't:

  • Consistent configuration scheme across the whole setup (in the traditional approach, literally every service has its own configuration file format)
  • Clean separation between distribution-provided configuration and local changes, for enhanced maintainability (not addressed by the traditional setup)
  • Consistent way of starting subprocesses, with enhanced security options, resource limits, etc. available everywhere (in the traditional approach there are multiple ways of starting services, e.g, through /etc/inittab, /etc/init.d, /etc/inetd.conf, /etc/crontab (and friends), …, all different and with different options)
  • Consistent way of stopping subprocesses (via cgroups; in the traditional setup there is no telling which processes belong to which service, and unless the service itself cooperates it is very hard to clean up)
  • Detection and re-start of services that have crashed (a problem that the traditional setup mostly ignores unless you deploy non-standard extra tooling)
  • Reasonable dependency management between services (System-V init requires you to maintain your own topological order of services)
  • Management of services on behalf of individual users (not addressed at all by the traditional setup)
  • Convenient access to service status (only rudimentary support in the traditional setup)
  • Reasonable documentation
  • …

This is just the tip of the iceberg, and all of these make eminent sense even on systems that don't run a DE. So as far as I'm concerned the answer to the question “is that worth the trouble” is a resounding “absolutely”. You can of course run a Linux system without availing yourself of all these advantages (we've been doing that for decades after all) but, in 2022, why would you?

In my former life as a Linux instructor teaching advanced system administration I had to deal with various people who had picked up the popular notion at the time that the traditional 1980s setup was the bee's knees and systemd the spawn of the devil, but in the end they all admitted, however grudgingly, that systemd is really not a bad idea at all. It takes a little getting used to for people who have been brought up on the traditional approach, but it's worth it, and in my experience people who are entirely new to Linux system administration have a much easier time learning systemd than the traditional setup.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds