Systemd

Software version208-6
Operating SystemDebian 8
Last Update27/07/2014

Introduction

systemd1 is a system and service manager for Linux, compatible with SysV and LSB init scripts. Systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.

When I decided to migrate to Systemd on Debian, it unfortunately worked at the first time. That’s why I need to deep dive into Systemd issues and understand why it wasn’t working.

Usage

First of all, you have to search for failed services:

  > systemctl --state=failed
  

To get more information on a service:

  systemctl status <servicename>
  

Try to know more on the specific PID (may not work in some cases):

  > journalctl -b _PID=
  

Generally, it is because of modules that don’t load properly or shouldn’t load. Make your changes, try to start the problematic services:

  > systemctl start <servicename>
  

Now things should be ok

References

Last updated 27 Jul 2014, 12:16 CEST. history