-
Notifications
You must be signed in to change notification settings - Fork 14
/
what-is-systemd.xml
44 lines (43 loc) · 2.87 KB
/
what-is-systemd.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
[
<!ENTITY % entities SYSTEM "../common/generic-entities.ent">
%entities;
]>
<!-- refers to legacy doc: https://github.com/SUSE/doc-sle/blob/main/xml/adm_sudo.xml -->
<!-- point back to this document with a similar comment added to your legacy doc piece -->
<!-- refer to README.md for file and id naming conventions -->
<!-- metadata is dealt with on the assembly level -->
<topic xml:id="about-systemd"
role="concept" xml:lang="en"
xmlns="http://docbook.org/ns/docbook" version="5.2"
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:trans="http://docbook.org/ns/transclusion">
<info>
<meta name="maintainer" content="[email protected]" its:translate="no"/>
<title>What is &systemd;?</title>
</info>
<para>
&systemd; is a system and service manager for Linux operating systems. It is the default initialization system for major Linux distributions.
&systemd; is not directly initiated by the user, but installed through the <filename>/sbin/init </filename> and started during the early boot.
&systemd; acts as the init system that brings up and maintains user space services when run as the first process on boot (PID 1).
PID 1 is known as <emphasis>init</emphasis> and is the first Linux user-mode process created.
It runs until the system shutdown.
</para>
<para>&systemd; owns PID 1, and is started directly by the kernel. All other processes are started directly
by &systemd; or one of its child processes. &systemd; mounts the host's file system and manages temporary files.
It is backward compatible with the SysV init scripts. SysV is an initialization system that predates &systemd;.</para>
<para>In &systemd;, a unit is a resource that the system knows how to operate on and manage. This is
the primary object that the &systemd; tools use. These resources are defined with configuration files called unit files.</para>
<para><command>systemctl</command> is the central management tool for controlling the init system. It is used to
examine and control the state of the &systemd; system and service manager.</para>
<para>Targets in &systemd; are groups of related units that act as synchronization points during a system boot.
Target unit files have a <literal>.target</literal> file extension. Target units group together various &systemd;
units through a chain of dependencies.
</para>
<para>For troubleshooting, you can use <command>journalctl</command>, which is
used to query and display log messages from the &systemd; journal.</para>
<para>For more information on &systemd;, you can refer to <link xlink:href="https://systemd.io"/> and <command>man 1 systemd</command>.</para>
</topic>