Systemd Fixes Bug While Facing New Challenger in GNU Shepherd

Dec 17, 2024

The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.

The version of systemd that was released back in June included a bug that could lead to everything in /home being deleted if the systemd command is run incorrectly to delete temporary files. This happened because systemd-tmpfiles (originally created to manage temporary files) evolved into something much bigger. Well, that bigger something wound up causing a pretty serious issue.

To fix this issue, the systemd developers made a change to the format of a config file (that isn't backward-compatible) making it less likely /home will be deleted. It's not an ideal fix, but it works.

The systemd v256.1 contains the fix (which should be installed via a standard update). If you're running version 256.0, no patch has been applied, and you should be careful when running the systemd-tmpfiles --purge command.

At the same time, a new challenger, GNU Shepherd, has arrived to give systemd a run for its money Okay, GNU Shepherd isn't actually new, as it was first developed over 20 years ago. What's important is that it has finally, after 20 years, reached its first stabile release (version 1.0). The biggest difference between GNU Shepherd and systemd is that GNU Shepherd is developed with Guile Scheme and serves as the default init system for the GNU Guix distribution.

There's little to no chance that GNU Shepherd will be replacing systemd anytime soon, but at least there's more competition in the market, which always leads to more innovation.
 
 

 
 
 

Related content

  • Devuan 1.0.0

    In 2014, the Debian project decided to replace the old init system with systemd, but a small group of developers resisted, forking Debian to start the systemd-free Devuan. We decided to take a look at Devuan 1.0.0, the first stable release.

  • systemd-homed

    Systemd has already changed almost everything about the Linux startup process. Now an experimental new feature takes on the challenge of user home directories.

  • Professor Knopper's Lab – Removing systemd

    The systemd service manager has been widely adopted by many Linux distros, so why would you want to remove it? The professor reveals why and how.

  • Devuan

    Devuan, with its promise of Init Freedom, provides users an alternative to systemd as an init process.

  • Command Line: Systemd

    Wondering what all the fuss is about systemd? We explain the basic concepts and capabilities of the new system management suite – coming soon to a distro near you.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News