Originally systemd was positioned by Lennart Poettering as a drop-in replacement for the System V init subsystem with the goal of speeding up system startup by parallelizing service startup where possible. An admirable objective! However, the scope of systemd has slowly increased to encompass the Linux kernel, system logging and lots more. This is craziness. It is now serious blotware with numerous binaries. Like a cancer, systemd is now spreading to more and more Linux subsystems. Worse, we now have apologists for systemd claiming that the old SysV init shell scripts were too complex to understand (actually they were easy
Once again Lennart Poettering and Kay Sievers have managed to complicate things and broken the simple model that served the Unix and Linux communities well for over 30 years, i.e. that details of filesystem mounts that should persist across a reboot are listed in /etc/(v)fstab. With systemd, mount units may either be configured via unit files, or via /etc/fstab. Mounts listed in /etc/fstab are converted into native units dynamically using systemd-fstab-generator at boot time or when the system manager configuration is reloaded. In general, configuring mount points through /etc/fstab is the preferred approach. A systemd unit configuration file whose name
In the systemd world, you should be aware of the difference between disabling and masking a service unit. To prevent a service unit that corresponds to a system service from being automatically started at boot time: # systemctl disable name.service When invoked systemd reads the [Install] section of the selected service unit and removes the appropriate symbolic link. In RHEL7, for example, the symbolic link would be to the /usr/lib/systemd/system/name.service file from the /usr/lib/systemd/system/ directory. Every service unit that is known to systemd may be started if it is needed – even if it is disabled. To explicitly tell systemd
When I updated my Fedora 20 installation today I ran into trouble booting my system using the EFI Stub mechanism even though it booted fine using GRUB. I ended up in the Emergency Shell. Looking at the logs using journalctl, here are the relevant entries (with times and irrelevant entries removed): [ ]: Reached target Switch Root. [ ]: Started Plymouth switch root service. [ ]: Starting Switch Root… [ ]: Not switching root: /sysroot does not seem to be an OS tree. /etc/os-release is missing. …. [ ]: Failed to start Switch Root. [ ]: Startup finished in 211ms
This post explores the underbelly of the new GNOME Software application installer and updater tool.