systemd.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-systemd" role="wrap" revision="systemd">
  8. <?dbhtml filename="systemd.html"?>
  9. <sect1info condition="script">
  10. <productname>systemd</productname>
  11. <productnumber>&systemd-version;</productnumber>
  12. <address>&systemd-url;</address>
  13. </sect1info>
  14. <title>Systemd-&systemd-version;</title>
  15. <indexterm zone="ch-system-systemd">
  16. <primary sortas="a-systemd">systemd</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The systemd package contains programs for controlling the startup,
  21. running, and shutdown of the system.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&systemd-fin-sbu;</seg>
  27. <seg>&systemd-fin-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of systemd</title>
  33. <!--
  34. <para>First, apply a patch to fix the build with GCC-10 and fix a segfault:</para>
  35. <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-2.patch</userinput></screen>
  36. -->
  37. <para>First, apply a patch to fix some regressions:</para>
  38. <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
  39. <para>Create a symlink to work around the xsltproc command not being installed:</para>
  40. <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
  41. <para>Set up the man pages:</para>
  42. <screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
  43. <para>Remove tests that cannot be built in chroot:</para>
  44. <screen><userinput remap="pre">sed '181,$ d' -i src/resolve/meson.build</userinput></screen>
  45. <para>Remove an unneeded group,
  46. <systemitem class="groupname">render</systemitem>, from the default udev
  47. rules:</para>
  48. <screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules.d/50-udev-default.rules.in</userinput></screen>
  49. <para>Prepare systemd for compilation:</para>
  50. <screen><userinput remap="configure">mkdir -p build
  51. cd build
  52. LANG=en_US.UTF-8 \
  53. meson --prefix=/usr \
  54. --sysconfdir=/etc \
  55. --localstatedir=/var \
  56. -Dblkid=true \
  57. -Dbuildtype=release \
  58. -Ddefault-dnssec=no \
  59. -Dfirstboot=false \
  60. -Dinstall-tests=false \
  61. -Dkmod-path=/bin/kmod \
  62. -Dldconfig=false \
  63. -Dmount-path=/bin/mount \
  64. -Drootprefix= \
  65. -Drootlibdir=/lib \
  66. -Dsplit-usr=true \
  67. -Dsulogin-path=/sbin/sulogin \
  68. -Dsysusers=false \
  69. -Dumount-path=/bin/umount \
  70. -Db_lto=false \
  71. -Drpmmacrosdir=no \
  72. -Dhomed=false \
  73. -Duserdb=false \
  74. -Dman=true \
  75. -Dmode=release \
  76. -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
  77. ..</userinput></screen>
  78. <variablelist>
  79. <title>The meaning of the meson options:</title>
  80. <varlistentry>
  81. <term><parameter>-D*-path=*</parameter></term>
  82. <listitem>
  83. <para>These switches provide the location of binaries needed by
  84. systemd at runtime that have not yet been installed.</para>
  85. </listitem>
  86. </varlistentry>
  87. <varlistentry>
  88. <term><parameter>-Ddefault-dnssec=no</parameter></term>
  89. <listitem>
  90. <para>This switch turns off the experimental DNSSEC support.</para>
  91. </listitem>
  92. </varlistentry>
  93. <varlistentry>
  94. <term><parameter>-Dfirstboot=false</parameter></term>
  95. <listitem>
  96. <para>This switch prevents installation of systemd
  97. services responsible for setting up the system for
  98. the first time. They are not useful for LFS because
  99. everything is done manually.</para>
  100. </listitem>
  101. </varlistentry>
  102. <varlistentry>
  103. <term><parameter>-Dinstall-tests=false</parameter></term>
  104. <listitem>
  105. <para>This switch prevents installation of the compiled tests.</para>
  106. </listitem>
  107. </varlistentry>
  108. <varlistentry>
  109. <term><parameter>-Dldconfig=false</parameter></term>
  110. <listitem>
  111. <para>This switch prevents installation of a systemd unit that runs
  112. <command>ldconfig</command> at boot, which is not useful for source
  113. distributions such as LFS and makes the boot time longer. Remove it
  114. if the described feature is desired.</para>
  115. </listitem>
  116. </varlistentry>
  117. <varlistentry>
  118. <term><parameter>-Droot*</parameter></term>
  119. <listitem>
  120. <para>These switches ensure that core programs and
  121. shared libraries are installed in subdirectories
  122. of the root partition.</para>
  123. </listitem>
  124. </varlistentry>
  125. <varlistentry>
  126. <term><parameter>-Dsplit-usr=true</parameter></term>
  127. <listitem>
  128. <para>This switch ensures that systemd will work on
  129. systems where /bin, /lib and /sbin directories are not
  130. symlinks to their /usr counterparts.</para>
  131. </listitem>
  132. </varlistentry>
  133. <varlistentry>
  134. <term><parameter>-Dsysusers=false</parameter></term>
  135. <listitem>
  136. <para>This switch prevents installation of systemd
  137. services responsible for setting up the
  138. <filename>/etc/group</filename> and
  139. <filename>/etc/passwd</filename> files. Both files
  140. were created earlier in this chapter.</para>
  141. </listitem>
  142. </varlistentry>
  143. <varlistentry>
  144. <term><parameter>-Drpmmacrosdir=no</parameter></term>
  145. <listitem>
  146. <para>This switch disables installation of RPM Macros
  147. for use with systemd because LFS does not support RPM.</para>
  148. </listitem>
  149. </varlistentry>
  150. <varlistentry>
  151. <term><parameter>-D{userdb,homed}=false</parameter></term>
  152. <listitem>
  153. <para>Remove two daemons that have dependencies that do not fit
  154. the scope of LFS.</para>
  155. </listitem>
  156. </varlistentry>
  157. </variablelist>
  158. <para>Compile the package:</para>
  159. <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
  160. <para>Install the package:</para>
  161. <screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
  162. <para>Remove an unnecessary symbolic link:</para>
  163. <screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
  164. <para>Create the <filename>/etc/machine-id</filename> file needed by
  165. <command>systemd-journald</command>:</para>
  166. <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
  167. <para>Setup the basic target structure:</para>
  168. <screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
  169. <para>Disable a service that is known to cause problems with systems that
  170. use a network configuration other than what is provided by
  171. systemd-networkd:</para>
  172. <!-- Observed halting startup with dhcpcd handling the primary NIC -->
  173. <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
  174. <para>Prevent systemd from resetting the maximum PID value which causes
  175. some problems with packages and units in BLFS:</para>
  176. <screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
  177. </sect2>
  178. <sect2 id="contents-systemd" role="content">
  179. <title>Contents of systemd</title>
  180. <segmentedlist>
  181. <segtitle>Installed programs</segtitle>
  182. <segtitle>Installed libraries</segtitle>
  183. <segtitle>Installed directories</segtitle>
  184. <seglistitem>
  185. <seg>bootctl, busctl, coredumpctl, halt (symlink to systemctl),
  186. hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
  187. machinectl, networkctl, portablectl, poweroff (symlink to
  188. systemctl), reboot (symlink to systemctl), resolvconf (symlink to
  189. resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
  190. (symlink to systemctl), systemctl, systemd-analyze,
  191. systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
  192. systemd-delta, systemd-detect-virt, systemd-dissect, systemd-escape,
  193. systemd-hwdb, systemd-id128, systemd-inhibit, systemd-machine-id-setup,
  194. systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
  195. systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
  196. systemd-socket-activate, systemd-stdio-bridge, systemd-tmpfiles,
  197. systemd-tty-ask-password-agent, systemd-umount (symlink to
  198. systemd-mount), telinit (symlink to systemctl), timedatectl, and
  199. udevadm</seg>
  200. <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
  201. libnss_resolve.so.2, libnss_systemd.so.2,
  202. libsystemd.so, libsystemd-shared-&systemd-version;.so (in /lib/systemd),
  203. and libudev.so</seg>
  204. <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
  205. /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
  206. /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
  207. /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
  208. /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
  209. /usr/lib/tmpfiles.d,
  210. /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
  211. /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
  212. </seglistitem>
  213. </segmentedlist>
  214. <variablelist>
  215. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  216. <?dbfo list-presentation="list"?>
  217. <?dbhtml list-presentation="table"?>
  218. <varlistentry id="bootctl">
  219. <term><command>bootctl</command></term>
  220. <listitem>
  221. <para>Is used to query the firmware and boot manager settings</para>
  222. <indexterm zone="ch-system-systemd bootctl">
  223. <primary sortas="b-bootctl">bootctl</primary>
  224. </indexterm>
  225. </listitem>
  226. </varlistentry>
  227. <varlistentry id="busctl">
  228. <term><command>busctl</command></term>
  229. <listitem>
  230. <para>Is used to introspect and monitor the D-Bus bus</para>
  231. <indexterm zone="ch-system-systemd busctl">
  232. <primary sortas="b-busctl">busctl</primary>
  233. </indexterm>
  234. </listitem>
  235. </varlistentry>
  236. <varlistentry id="coredumpctl">
  237. <term><command>coredumpctl</command></term>
  238. <listitem>
  239. <para>Is used to retrieve coredumps from the systemd journal</para>
  240. <indexterm zone="ch-system-systemd coredumpctl">
  241. <primary sortas="b-coredumpctl">coredumpctl</primary>
  242. </indexterm>
  243. </listitem>
  244. </varlistentry>
  245. <varlistentry id="halt">
  246. <term><command>halt</command></term>
  247. <listitem>
  248. <para>Normally invokes <command>shutdown</command> with the
  249. <parameter>-h</parameter> option, except when already in run-level 0,
  250. then it tells the kernel to halt the system; it notes in the
  251. file <filename>/var/log/wtmp</filename> that the system is being
  252. brought down</para>
  253. <indexterm zone="ch-system-systemd halt">
  254. <primary sortas="b-halt">halt</primary>
  255. </indexterm>
  256. </listitem>
  257. </varlistentry>
  258. <varlistentry id="hostnamectl">
  259. <term><command>hostnamectl</command></term>
  260. <listitem>
  261. <para>Is used to query and change the system hostname and related
  262. settings</para>
  263. <indexterm zone="ch-system-systemd hostnamectl">
  264. <primary sortas="b-hostnamectl">hostnamectl</primary>
  265. </indexterm>
  266. </listitem>
  267. </varlistentry>
  268. <varlistentry id="init">
  269. <term><command>init</command></term>
  270. <listitem>
  271. <para>Is the first process to be started when the kernel has initialized
  272. the hardware which takes over the boot process and starts all
  273. processes according to its configuration files. In this case, it starts
  274. systemd.</para>
  275. <indexterm zone="ch-system-systemd init">
  276. <primary sortas="b-init">init</primary>
  277. </indexterm>
  278. </listitem>
  279. </varlistentry>
  280. <varlistentry id="journalctl">
  281. <term><command>journalctl</command></term>
  282. <listitem>
  283. <para>Is used to query the contents of the systemd journal</para>
  284. <indexterm zone="ch-system-systemd journalctl">
  285. <primary sortas="b-journalctl">journalctl</primary>
  286. </indexterm>
  287. </listitem>
  288. </varlistentry>
  289. <varlistentry id="kernel-install">
  290. <term><command>kernel-install</command></term>
  291. <listitem>
  292. <para>Is used to add and remove kernel and initramfs images to and
  293. from /boot. In LFS, this is done manually.</para>
  294. <indexterm zone="ch-system-systemd kernel-install">
  295. <primary sortas="b-kernel-install">kernel-install</primary>
  296. </indexterm>
  297. </listitem>
  298. </varlistentry>
  299. <varlistentry id="localectl">
  300. <term><command>localectl</command></term>
  301. <listitem>
  302. <para>Is used to query and change the system locale and keyboard layout
  303. settings</para>
  304. <indexterm zone="ch-system-systemd localectl">
  305. <primary sortas="b-localectl">localectl</primary>
  306. </indexterm>
  307. </listitem>
  308. </varlistentry>
  309. <varlistentry id="loginctl">
  310. <term><command>loginctl</command></term>
  311. <listitem>
  312. <para>Is used to introspect and control the state of the systemd Login
  313. Manager</para>
  314. <indexterm zone="ch-system-systemd loginctl">
  315. <primary sortas="b-loginctl">loginctl</primary>
  316. </indexterm>
  317. </listitem>
  318. </varlistentry>
  319. <varlistentry id="machinectl">
  320. <term><command>machinectl</command></term>
  321. <listitem>
  322. <para>Is used to introspect and control the state of the systemd Virtual
  323. Machine and Container Registration Manager</para>
  324. <indexterm zone="ch-system-systemd machinectl">
  325. <primary sortas="b-machinectl">machinectl</primary>
  326. </indexterm>
  327. </listitem>
  328. </varlistentry>
  329. <varlistentry id="networkctl">
  330. <term><command>networkctl</command></term>
  331. <listitem>
  332. <para>Is used to introspect and configure the state of the network
  333. links configured by systemd-networkd</para>
  334. <indexterm zone="ch-system-systemd networkctl">
  335. <primary sortas="b-networkctl">networkctl</primary>
  336. </indexterm>
  337. </listitem>
  338. </varlistentry>
  339. <varlistentry id="portablectl">
  340. <term><command>portablectl</command></term>
  341. <listitem>
  342. <para>Is used to attach or detach portable services from the local
  343. system</para>
  344. <indexterm zone="ch-system-systemd portablectl">
  345. <primary sortas="b-portablectl">portablectl</primary>
  346. </indexterm>
  347. </listitem>
  348. </varlistentry>
  349. <varlistentry id="poweroff">
  350. <term><command>poweroff</command></term>
  351. <listitem>
  352. <para>Instructs the kernel to halt the system and switch off the computer
  353. (see <command>halt</command>)</para>
  354. <indexterm zone="ch-system-systemd poweroff">
  355. <primary sortas="b-poweroff">poweroff</primary>
  356. </indexterm>
  357. </listitem>
  358. </varlistentry>
  359. <varlistentry id="reboot">
  360. <term><command>reboot</command></term>
  361. <listitem>
  362. <para>Instructs the kernel to reboot the system (see
  363. <command>halt</command>)</para>
  364. <indexterm zone="ch-system-systemd reboot">
  365. <primary sortas="b-reboot">reboot</primary>
  366. </indexterm>
  367. </listitem>
  368. </varlistentry>
  369. <varlistentry id="resolvconf">
  370. <term><command>resolvconf</command></term>
  371. <listitem>
  372. <para>Registers DNS server and domain configuration with
  373. <command>systemd-resolved</command></para>
  374. <indexterm zone="ch-system-systemd resolvconf">
  375. <primary sortas="b-resolvconf">resolvconf</primary>
  376. </indexterm>
  377. </listitem>
  378. </varlistentry>
  379. <varlistentry id="resolvectl">
  380. <term><command>resolvectl</command></term>
  381. <listitem>
  382. <para>Sends control commands to the network name resolution
  383. manager, or resolves domain names, IPv4 and IPv6 addresses,
  384. DNS records, and services.</para>
  385. <indexterm zone="ch-system-systemd resolvectl">
  386. <primary sortas="b-resolvectl">resolvectl</primary>
  387. </indexterm>
  388. </listitem>
  389. </varlistentry>
  390. <varlistentry id="runlevel">
  391. <term><command>runlevel</command></term>
  392. <listitem>
  393. <para>Outputs the previous and the current run-level, as noted in the
  394. last run-level record in <filename>/var/run/utmp</filename></para>
  395. <indexterm zone="ch-system-systemd runlevel">
  396. <primary sortas="b-runlevel">runlevel</primary>
  397. </indexterm>
  398. </listitem>
  399. </varlistentry>
  400. <varlistentry id="shutdown">
  401. <term><command>shutdown</command></term>
  402. <listitem>
  403. <para>Brings the system down in a safe and secure manner, signaling
  404. all processes and notifying all logged-in users</para>
  405. <indexterm zone="ch-system-systemd shutdown">
  406. <primary sortas="b-shutdown">shutdown</primary>
  407. </indexterm>
  408. </listitem>
  409. </varlistentry>
  410. <varlistentry id="systemctl">
  411. <term><command>systemctl</command></term>
  412. <listitem>
  413. <para>Is used to introspect and control the state of the systemd system
  414. and service manager</para>
  415. <indexterm zone="ch-system-systemd systemctl">
  416. <primary sortas="b-systemctl">systemctl</primary>
  417. </indexterm>
  418. </listitem>
  419. </varlistentry>
  420. <varlistentry id="systemd-analyze">
  421. <term><command>systemd-analyze</command></term>
  422. <listitem>
  423. <para>Is used to determine system startup performance of the current
  424. boot, as well as identify troublesome systemd units</para>
  425. <indexterm zone="ch-system-systemd systemd-analyze">
  426. <primary sortas="b-systemd-analyze">systemd-analyze</primary>
  427. </indexterm>
  428. </listitem>
  429. </varlistentry>
  430. <varlistentry id="systemd-ask-password">
  431. <term><command>systemd-ask-password</command></term>
  432. <listitem>
  433. <para>Is used to query a system password or passphrase from the user,
  434. using a question message specified on the command line</para>
  435. <indexterm zone="ch-system-systemd systemd-ask-password">
  436. <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
  437. </indexterm>
  438. </listitem>
  439. </varlistentry>
  440. <varlistentry id="systemd-cat">
  441. <term><command>systemd-cat</command></term>
  442. <listitem>
  443. <para>Is used to connect the STDOUT and STDERR outputs of a process
  444. with the systemd journal.
  445. </para>
  446. <indexterm zone="ch-system-systemd systemd-cat">
  447. <primary sortas="b-systemd-cat">systemd-cat</primary>
  448. </indexterm>
  449. </listitem>
  450. </varlistentry>
  451. <varlistentry id="systemd-cgls">
  452. <term><command>systemd-cgls</command></term>
  453. <listitem>
  454. <para>Recursively shows the contents of the selected Linux control
  455. group hierarchy in a tree</para>
  456. <indexterm zone="ch-system-systemd systemd-cgls">
  457. <primary sortas="b-systemd-cgls">systemd-cgls</primary>
  458. </indexterm>
  459. </listitem>
  460. </varlistentry>
  461. <varlistentry id="systemd-cgtop">
  462. <term><command>systemd-cgtop</command></term>
  463. <listitem>
  464. <para>Shows the top control groups of the local Linux control group
  465. hierarchy, ordered by their CPU, memory and disk I/O load</para>
  466. <indexterm zone="ch-system-systemd systemd-cgtop">
  467. <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
  468. </indexterm>
  469. </listitem>
  470. </varlistentry>
  471. <varlistentry id="systemd-delta">
  472. <term><command>systemd-delta</command></term>
  473. <listitem>
  474. <para>Is used to identify and compare configuration files in
  475. <filename class="directory">/etc</filename> that override default
  476. counterparts in <filename class="directory">/usr</filename></para>
  477. <indexterm zone="ch-system-systemd systemd-delta">
  478. <primary sortas="b-systemd-delta">systemd-delta</primary>
  479. </indexterm>
  480. </listitem>
  481. </varlistentry>
  482. <varlistentry id="systemd-detect-virt">
  483. <term><command>systemd-detect-virt</command></term>
  484. <listitem>
  485. <para>Detects whether the system is being run in a virtual
  486. environment, and adjusts udev accordingly.</para>
  487. <indexterm zone="ch-system-systemd systemd-detect-virt">
  488. <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
  489. </indexterm>
  490. </listitem>
  491. </varlistentry>
  492. <varlistentry id="systemd-dissect">
  493. <term><command>systemd-dissect</command></term>
  494. <listitem>
  495. <para>Is used to inspect OS disk images.</para>
  496. <indexterm zone="ch-system-systemd systemd-dissect">
  497. <primary sortas="b-systemd-dissect">systemd-dissect</primary>
  498. </indexterm>
  499. </listitem>
  500. </varlistentry>
  501. <varlistentry id="systemd-escape">
  502. <term><command>systemd-escape</command></term>
  503. <listitem>
  504. <para>Is used to escape strings for inclusion in systemd unit
  505. names</para>
  506. <indexterm zone="ch-system-systemd systemd-escape">
  507. <primary sortas="b-systemd-escape">systemd-escape</primary>
  508. </indexterm>
  509. </listitem>
  510. </varlistentry>
  511. <varlistentry id="systemd-hwdb">
  512. <term><command>systemd-hwdb</command></term>
  513. <listitem>
  514. <para>Is used to manage the hardware database (hwdb)</para>
  515. <indexterm zone="ch-system-systemd systemd-hwdb">
  516. <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
  517. </indexterm>
  518. </listitem>
  519. </varlistentry>
  520. <varlistentry id="systemd-id128">
  521. <term><command>systemd-id128</command></term>
  522. <listitem>
  523. <para>Generates and prints id128 strings</para>
  524. <indexterm zone="ch-system-systemd systemd-id128">
  525. <primary sortas="b-systemd-id128">systemd-id128</primary>
  526. </indexterm>
  527. </listitem>
  528. </varlistentry>
  529. <varlistentry id="systemd-inhibit">
  530. <term><command>systemd-inhibit</command></term>
  531. <listitem>
  532. <para>Is used to execute a program with a shutdown, sleep or idle
  533. inhibitor lock taken, preventing an action such as a system shutdown
  534. until the process is completed.</para>
  535. <indexterm zone="ch-system-systemd systemd-inhibit">
  536. <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
  537. </indexterm>
  538. </listitem>
  539. </varlistentry>
  540. <varlistentry id="systemd-machine-id-setup">
  541. <term><command>systemd-machine-id-setup</command></term>
  542. <listitem>
  543. <para>Is used by system installer tools to initialize the machine ID
  544. stored in <filename>/etc/machine-id</filename> at install time with a
  545. randomly generated ID</para>
  546. <indexterm zone="ch-system-systemd systemd-machine-id-setup">
  547. <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
  548. </indexterm>
  549. </listitem>
  550. </varlistentry>
  551. <varlistentry id="systemd-mount">
  552. <term><command>systemd-mount</command></term>
  553. <listitem>
  554. <para>Is used to temporarily mount or automount disks.</para>
  555. <indexterm zone="ch-system-systemd systemd-mount">
  556. <primary sortas="b-systemd-mount">systemd-mount</primary>
  557. </indexterm>
  558. </listitem>
  559. </varlistentry>
  560. <varlistentry id="systemd-notify">
  561. <term><command>systemd-notify</command></term>
  562. <listitem>
  563. <para>Is used by daemon scripts to notify the init system about status
  564. changes</para>
  565. <indexterm zone="ch-system-systemd systemd-notify">
  566. <primary sortas="b-systemd-notify">systemd-notify</primary>
  567. </indexterm>
  568. </listitem>
  569. </varlistentry>
  570. <varlistentry id="systemd-nspawn">
  571. <term><command>systemd-nspawn</command></term>
  572. <listitem>
  573. <para>Is used to run a command or OS in a light-weight namespace
  574. container</para>
  575. <indexterm zone="ch-system-systemd systemd-nspawn">
  576. <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
  577. </indexterm>
  578. </listitem>
  579. </varlistentry>
  580. <varlistentry id="systemd-path">
  581. <term><command>systemd-path</command></term>
  582. <listitem>
  583. <para>Is used to query system and user paths</para>
  584. <indexterm zone="ch-system-systemd systemd-path">
  585. <primary sortas="b-systemd-path">systemd-path</primary>
  586. </indexterm>
  587. </listitem>
  588. </varlistentry>
  589. <varlistentry id="systemd-repart">
  590. <term><command>systemd-repart</command></term>
  591. <listitem>
  592. <para>Is used to grow and add partitions to a partition table when
  593. systemd is used in an OS image (e.g. a container).</para>
  594. <indexterm zone="ch-system-systemd systemd-repart">
  595. <primary sortas="b-systemd-repart">systemd-repart</primary>
  596. </indexterm>
  597. </listitem>
  598. </varlistentry>
  599. <varlistentry id="systemd-resolve">
  600. <term><command>systemd-resolve</command></term>
  601. <listitem>
  602. <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
  603. resource records, and services</para>
  604. <indexterm zone="ch-system-systemd systemd-resolve">
  605. <primary sortas="b-systemd-resolve">systemd-resolve</primary>
  606. </indexterm>
  607. </listitem>
  608. </varlistentry>
  609. <varlistentry id="systemd-run">
  610. <term><command>systemd-run</command></term>
  611. <listitem>
  612. <para>Is used to create and start a transient .service or a .scope
  613. unit and run the specified command in it. This is useful for
  614. validating systemd units.</para>
  615. <indexterm zone="ch-system-systemd systemd-run">
  616. <primary sortas="b-systemd-run">systemd-run</primary>
  617. </indexterm>
  618. </listitem>
  619. </varlistentry>
  620. <varlistentry id="systemd-socket-activate">
  621. <term><command>systemd-socket-activate</command></term>
  622. <listitem>
  623. <para>Is used to listen on socket devices and launch a process upon
  624. a successful connection to the socket.</para>
  625. <indexterm zone="ch-system-systemd systemd-socket-activate">
  626. <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
  627. </indexterm>
  628. </listitem>
  629. </varlistentry>
  630. <varlistentry id="systemd-tmpfiles">
  631. <term><command>systemd-tmpfiles</command></term>
  632. <listitem>
  633. <para>Creates, deletes and cleans up volatile and temporary files and
  634. directories, based on the configuration file format and location
  635. specified in
  636. <filename class="directory">tmpfiles.d</filename> directories</para>
  637. <indexterm zone="ch-system-systemd systemd-tmpfiles">
  638. <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
  639. </indexterm>
  640. </listitem>
  641. </varlistentry>
  642. <varlistentry id="systemd-umount">
  643. <term><command>systemd-umount</command></term>
  644. <listitem>
  645. <para>Unmounts mount points</para>
  646. <indexterm zone="ch-system-systemd systemd-umount">
  647. <primary sortas="b-systemd-umount">systemd-umount</primary>
  648. </indexterm>
  649. </listitem>
  650. </varlistentry>
  651. <varlistentry id="systemd-tty-ask-password-agent">
  652. <term><command>systemd-tty-ask-password-agent</command></term>
  653. <listitem>
  654. <para>Is used to list and/or process pending systemd password
  655. requests</para>
  656. <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
  657. <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
  658. </indexterm>
  659. </listitem>
  660. </varlistentry>
  661. <varlistentry id="telinit">
  662. <term><command>telinit</command></term>
  663. <listitem>
  664. <para>Tells <command>init</command> which run-level to change
  665. to</para>
  666. <indexterm zone="ch-system-systemd telinit">
  667. <primary sortas="b-telinit">telinit</primary>
  668. </indexterm>
  669. </listitem>
  670. </varlistentry>
  671. <varlistentry id="timedatectl">
  672. <term><command>timedatectl</command></term>
  673. <listitem>
  674. <para>Is used to query and change the system clock and its settings
  675. </para>
  676. <indexterm zone="ch-system-systemd timedatectl">
  677. <primary sortas="b-timedatectl">timedatectl</primary>
  678. </indexterm>
  679. </listitem>
  680. </varlistentry>
  681. <varlistentry id="udevadm">
  682. <term><command>udevadm</command></term>
  683. <listitem>
  684. <para>Is a generic udev administration tool which controls the udevd
  685. daemon, provides info from the Udev hardware database, monitors
  686. uevents, waits for uevents to finish, tests udev configuration, and
  687. triggers uevents for a given device</para>
  688. <indexterm zone="ch-system-systemd udevadm">
  689. <primary sortas="b-udevadm">udevadm</primary>
  690. </indexterm>
  691. </listitem>
  692. </varlistentry>
  693. <varlistentry id="libsystemd">
  694. <term><filename class="libraryfile">libsystemd</filename></term>
  695. <listitem>
  696. <para>Is the main systemd utility library</para>
  697. <indexterm zone="ch-system-systemd libsystemd">
  698. <primary sortas="c-libsystemd">libsystemd</primary>
  699. </indexterm>
  700. </listitem>
  701. </varlistentry>
  702. <varlistentry id="libudev">
  703. <term><filename class="libraryfile">libudev</filename></term>
  704. <listitem>
  705. <para>Is a library to access Udev device information</para>
  706. <indexterm zone="ch-system-systemd libudev">
  707. <primary sortas="c-libudev">libudev</primary>
  708. </indexterm>
  709. </listitem>
  710. </varlistentry>
  711. </variablelist>
  712. </sect2>
  713. </sect1>