June 2017
Intermediate to advanced
478 pages
13h 14m
English
Now, we can see how systemd implements the bootstrap. systemd is run by the kernel as a result of /sbin/init being symbolically linked to /lib/systemd/systemd. It runs the default target, default.target, which is always a link to a desired target such as multi-user.target for a text login or graphical.target for a graphical environment. For example, if the default target is multi-user.target, you will find this symbolic link:
/etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target
The default target maybe overridden by passing system.unit=<new target> on the kernel command line. You can use systemctl to find out the default target, as shown here:
# systemctl get-default multi-user.target ...
Read now
Unlock full access