systemd.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  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. <varlistentry>
  158. <term><parameter>-Dmode=release</parameter></term>
  159. <listitem>
  160. <para>Disable some features considered experimental by upstream.
  161. </para>
  162. </listitem>
  163. </varlistentry>
  164. </variablelist>
  165. <para>Compile the package:</para>
  166. <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
  167. <para>Install the package:</para>
  168. <screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
  169. <para>Remove an unnecessary symbolic link:</para>
  170. <screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
  171. <para>Create the <filename>/etc/machine-id</filename> file needed by
  172. <command>systemd-journald</command>:</para>
  173. <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
  174. <para>Setup the basic target structure:</para>
  175. <screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
  176. <para>Disable a service that is known to cause problems with systems that
  177. use a network configuration other than what is provided by
  178. systemd-networkd:</para>
  179. <!-- Observed halting startup with dhcpcd handling the primary NIC -->
  180. <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
  181. <para>Prevent systemd from resetting the maximum PID value which causes
  182. some problems with packages and units in BLFS:</para>
  183. <screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
  184. </sect2>
  185. <sect2 id="contents-systemd" role="content">
  186. <title>Contents of systemd</title>
  187. <segmentedlist>
  188. <segtitle>Installed programs</segtitle>
  189. <segtitle>Installed libraries</segtitle>
  190. <segtitle>Installed directories</segtitle>
  191. <seglistitem>
  192. <seg>bootctl, busctl, coredumpctl, halt (symlink to systemctl),
  193. hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
  194. machinectl, networkctl, portablectl, poweroff (symlink to
  195. systemctl), reboot (symlink to systemctl), resolvconf (symlink to
  196. resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
  197. (symlink to systemctl), systemctl, systemd-analyze,
  198. systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
  199. systemd-delta, systemd-detect-virt, systemd-dissect, systemd-escape,
  200. systemd-hwdb, systemd-id128, systemd-inhibit, systemd-machine-id-setup,
  201. systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
  202. systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
  203. systemd-socket-activate, systemd-stdio-bridge, systemd-tmpfiles,
  204. systemd-tty-ask-password-agent, systemd-umount (symlink to
  205. systemd-mount), telinit (symlink to systemctl), timedatectl, and
  206. udevadm</seg>
  207. <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
  208. libnss_resolve.so.2, libnss_systemd.so.2,
  209. libsystemd.so, libsystemd-shared-&systemd-version;.so (in /lib/systemd),
  210. and libudev.so</seg>
  211. <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
  212. /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
  213. /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
  214. /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
  215. /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
  216. /usr/lib/tmpfiles.d,
  217. /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
  218. /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
  219. </seglistitem>
  220. </segmentedlist>
  221. <variablelist>
  222. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  223. <?dbfo list-presentation="list"?>
  224. <?dbhtml list-presentation="table"?>
  225. <varlistentry id="bootctl">
  226. <term><command>bootctl</command></term>
  227. <listitem>
  228. <para>Is used to query the firmware and boot manager settings</para>
  229. <indexterm zone="ch-system-systemd bootctl">
  230. <primary sortas="b-bootctl">bootctl</primary>
  231. </indexterm>
  232. </listitem>
  233. </varlistentry>
  234. <varlistentry id="busctl">
  235. <term><command>busctl</command></term>
  236. <listitem>
  237. <para>Is used to introspect and monitor the D-Bus bus</para>
  238. <indexterm zone="ch-system-systemd busctl">
  239. <primary sortas="b-busctl">busctl</primary>
  240. </indexterm>
  241. </listitem>
  242. </varlistentry>
  243. <varlistentry id="coredumpctl">
  244. <term><command>coredumpctl</command></term>
  245. <listitem>
  246. <para>Is used to retrieve coredumps from the systemd journal</para>
  247. <indexterm zone="ch-system-systemd coredumpctl">
  248. <primary sortas="b-coredumpctl">coredumpctl</primary>
  249. </indexterm>
  250. </listitem>
  251. </varlistentry>
  252. <varlistentry id="halt">
  253. <term><command>halt</command></term>
  254. <listitem>
  255. <para>Normally invokes <command>shutdown</command> with the
  256. <parameter>-h</parameter> option, except when already in run-level 0,
  257. then it tells the kernel to halt the system; it notes in the
  258. file <filename>/var/log/wtmp</filename> that the system is being
  259. brought down</para>
  260. <indexterm zone="ch-system-systemd halt">
  261. <primary sortas="b-halt">halt</primary>
  262. </indexterm>
  263. </listitem>
  264. </varlistentry>
  265. <varlistentry id="hostnamectl">
  266. <term><command>hostnamectl</command></term>
  267. <listitem>
  268. <para>Is used to query and change the system hostname and related
  269. settings</para>
  270. <indexterm zone="ch-system-systemd hostnamectl">
  271. <primary sortas="b-hostnamectl">hostnamectl</primary>
  272. </indexterm>
  273. </listitem>
  274. </varlistentry>
  275. <varlistentry id="init">
  276. <term><command>init</command></term>
  277. <listitem>
  278. <para>Is the first process to be started when the kernel has initialized
  279. the hardware which takes over the boot process and starts all
  280. processes according to its configuration files. In this case, it starts
  281. systemd.</para>
  282. <indexterm zone="ch-system-systemd init">
  283. <primary sortas="b-init">init</primary>
  284. </indexterm>
  285. </listitem>
  286. </varlistentry>
  287. <varlistentry id="journalctl">
  288. <term><command>journalctl</command></term>
  289. <listitem>
  290. <para>Is used to query the contents of the systemd journal</para>
  291. <indexterm zone="ch-system-systemd journalctl">
  292. <primary sortas="b-journalctl">journalctl</primary>
  293. </indexterm>
  294. </listitem>
  295. </varlistentry>
  296. <varlistentry id="kernel-install">
  297. <term><command>kernel-install</command></term>
  298. <listitem>
  299. <para>Is used to add and remove kernel and initramfs images to and
  300. from /boot. In LFS, this is done manually.</para>
  301. <indexterm zone="ch-system-systemd kernel-install">
  302. <primary sortas="b-kernel-install">kernel-install</primary>
  303. </indexterm>
  304. </listitem>
  305. </varlistentry>
  306. <varlistentry id="localectl">
  307. <term><command>localectl</command></term>
  308. <listitem>
  309. <para>Is used to query and change the system locale and keyboard layout
  310. settings</para>
  311. <indexterm zone="ch-system-systemd localectl">
  312. <primary sortas="b-localectl">localectl</primary>
  313. </indexterm>
  314. </listitem>
  315. </varlistentry>
  316. <varlistentry id="loginctl">
  317. <term><command>loginctl</command></term>
  318. <listitem>
  319. <para>Is used to introspect and control the state of the systemd Login
  320. Manager</para>
  321. <indexterm zone="ch-system-systemd loginctl">
  322. <primary sortas="b-loginctl">loginctl</primary>
  323. </indexterm>
  324. </listitem>
  325. </varlistentry>
  326. <varlistentry id="machinectl">
  327. <term><command>machinectl</command></term>
  328. <listitem>
  329. <para>Is used to introspect and control the state of the systemd Virtual
  330. Machine and Container Registration Manager</para>
  331. <indexterm zone="ch-system-systemd machinectl">
  332. <primary sortas="b-machinectl">machinectl</primary>
  333. </indexterm>
  334. </listitem>
  335. </varlistentry>
  336. <varlistentry id="networkctl">
  337. <term><command>networkctl</command></term>
  338. <listitem>
  339. <para>Is used to introspect and configure the state of the network
  340. links configured by systemd-networkd</para>
  341. <indexterm zone="ch-system-systemd networkctl">
  342. <primary sortas="b-networkctl">networkctl</primary>
  343. </indexterm>
  344. </listitem>
  345. </varlistentry>
  346. <varlistentry id="portablectl">
  347. <term><command>portablectl</command></term>
  348. <listitem>
  349. <para>Is used to attach or detach portable services from the local
  350. system</para>
  351. <indexterm zone="ch-system-systemd portablectl">
  352. <primary sortas="b-portablectl">portablectl</primary>
  353. </indexterm>
  354. </listitem>
  355. </varlistentry>
  356. <varlistentry id="poweroff">
  357. <term><command>poweroff</command></term>
  358. <listitem>
  359. <para>Instructs the kernel to halt the system and switch off the computer
  360. (see <command>halt</command>)</para>
  361. <indexterm zone="ch-system-systemd poweroff">
  362. <primary sortas="b-poweroff">poweroff</primary>
  363. </indexterm>
  364. </listitem>
  365. </varlistentry>
  366. <varlistentry id="reboot">
  367. <term><command>reboot</command></term>
  368. <listitem>
  369. <para>Instructs the kernel to reboot the system (see
  370. <command>halt</command>)</para>
  371. <indexterm zone="ch-system-systemd reboot">
  372. <primary sortas="b-reboot">reboot</primary>
  373. </indexterm>
  374. </listitem>
  375. </varlistentry>
  376. <varlistentry id="resolvconf">
  377. <term><command>resolvconf</command></term>
  378. <listitem>
  379. <para>Registers DNS server and domain configuration with
  380. <command>systemd-resolved</command></para>
  381. <indexterm zone="ch-system-systemd resolvconf">
  382. <primary sortas="b-resolvconf">resolvconf</primary>
  383. </indexterm>
  384. </listitem>
  385. </varlistentry>
  386. <varlistentry id="resolvectl">
  387. <term><command>resolvectl</command></term>
  388. <listitem>
  389. <para>Sends control commands to the network name resolution
  390. manager, or resolves domain names, IPv4 and IPv6 addresses,
  391. DNS records, and services.</para>
  392. <indexterm zone="ch-system-systemd resolvectl">
  393. <primary sortas="b-resolvectl">resolvectl</primary>
  394. </indexterm>
  395. </listitem>
  396. </varlistentry>
  397. <varlistentry id="runlevel">
  398. <term><command>runlevel</command></term>
  399. <listitem>
  400. <para>Outputs the previous and the current run-level, as noted in the
  401. last run-level record in <filename>/run/utmp</filename></para>
  402. <indexterm zone="ch-system-systemd runlevel">
  403. <primary sortas="b-runlevel">runlevel</primary>
  404. </indexterm>
  405. </listitem>
  406. </varlistentry>
  407. <varlistentry id="shutdown">
  408. <term><command>shutdown</command></term>
  409. <listitem>
  410. <para>Brings the system down in a safe and secure manner, signaling
  411. all processes and notifying all logged-in users</para>
  412. <indexterm zone="ch-system-systemd shutdown">
  413. <primary sortas="b-shutdown">shutdown</primary>
  414. </indexterm>
  415. </listitem>
  416. </varlistentry>
  417. <varlistentry id="systemctl">
  418. <term><command>systemctl</command></term>
  419. <listitem>
  420. <para>Is used to introspect and control the state of the systemd system
  421. and service manager</para>
  422. <indexterm zone="ch-system-systemd systemctl">
  423. <primary sortas="b-systemctl">systemctl</primary>
  424. </indexterm>
  425. </listitem>
  426. </varlistentry>
  427. <varlistentry id="systemd-analyze">
  428. <term><command>systemd-analyze</command></term>
  429. <listitem>
  430. <para>Is used to determine system startup performance of the current
  431. boot, as well as identify troublesome systemd units</para>
  432. <indexterm zone="ch-system-systemd systemd-analyze">
  433. <primary sortas="b-systemd-analyze">systemd-analyze</primary>
  434. </indexterm>
  435. </listitem>
  436. </varlistentry>
  437. <varlistentry id="systemd-ask-password">
  438. <term><command>systemd-ask-password</command></term>
  439. <listitem>
  440. <para>Is used to query a system password or passphrase from the user,
  441. using a question message specified on the command line</para>
  442. <indexterm zone="ch-system-systemd systemd-ask-password">
  443. <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
  444. </indexterm>
  445. </listitem>
  446. </varlistentry>
  447. <varlistentry id="systemd-cat">
  448. <term><command>systemd-cat</command></term>
  449. <listitem>
  450. <para>Is used to connect the STDOUT and STDERR outputs of a process
  451. with the systemd journal.
  452. </para>
  453. <indexterm zone="ch-system-systemd systemd-cat">
  454. <primary sortas="b-systemd-cat">systemd-cat</primary>
  455. </indexterm>
  456. </listitem>
  457. </varlistentry>
  458. <varlistentry id="systemd-cgls">
  459. <term><command>systemd-cgls</command></term>
  460. <listitem>
  461. <para>Recursively shows the contents of the selected Linux control
  462. group hierarchy in a tree</para>
  463. <indexterm zone="ch-system-systemd systemd-cgls">
  464. <primary sortas="b-systemd-cgls">systemd-cgls</primary>
  465. </indexterm>
  466. </listitem>
  467. </varlistentry>
  468. <varlistentry id="systemd-cgtop">
  469. <term><command>systemd-cgtop</command></term>
  470. <listitem>
  471. <para>Shows the top control groups of the local Linux control group
  472. hierarchy, ordered by their CPU, memory and disk I/O load</para>
  473. <indexterm zone="ch-system-systemd systemd-cgtop">
  474. <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
  475. </indexterm>
  476. </listitem>
  477. </varlistentry>
  478. <varlistentry id="systemd-delta">
  479. <term><command>systemd-delta</command></term>
  480. <listitem>
  481. <para>Is used to identify and compare configuration files in
  482. <filename class="directory">/etc</filename> that override default
  483. counterparts in <filename class="directory">/usr</filename></para>
  484. <indexterm zone="ch-system-systemd systemd-delta">
  485. <primary sortas="b-systemd-delta">systemd-delta</primary>
  486. </indexterm>
  487. </listitem>
  488. </varlistentry>
  489. <varlistentry id="systemd-detect-virt">
  490. <term><command>systemd-detect-virt</command></term>
  491. <listitem>
  492. <para>Detects whether the system is being run in a virtual
  493. environment, and adjusts udev accordingly.</para>
  494. <indexterm zone="ch-system-systemd systemd-detect-virt">
  495. <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
  496. </indexterm>
  497. </listitem>
  498. </varlistentry>
  499. <varlistentry id="systemd-dissect">
  500. <term><command>systemd-dissect</command></term>
  501. <listitem>
  502. <para>Is used to inspect OS disk images.</para>
  503. <indexterm zone="ch-system-systemd systemd-dissect">
  504. <primary sortas="b-systemd-dissect">systemd-dissect</primary>
  505. </indexterm>
  506. </listitem>
  507. </varlistentry>
  508. <varlistentry id="systemd-escape">
  509. <term><command>systemd-escape</command></term>
  510. <listitem>
  511. <para>Is used to escape strings for inclusion in systemd unit
  512. names</para>
  513. <indexterm zone="ch-system-systemd systemd-escape">
  514. <primary sortas="b-systemd-escape">systemd-escape</primary>
  515. </indexterm>
  516. </listitem>
  517. </varlistentry>
  518. <varlistentry id="systemd-hwdb">
  519. <term><command>systemd-hwdb</command></term>
  520. <listitem>
  521. <para>Is used to manage the hardware database (hwdb)</para>
  522. <indexterm zone="ch-system-systemd systemd-hwdb">
  523. <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
  524. </indexterm>
  525. </listitem>
  526. </varlistentry>
  527. <varlistentry id="systemd-id128">
  528. <term><command>systemd-id128</command></term>
  529. <listitem>
  530. <para>Generates and prints id128 strings</para>
  531. <indexterm zone="ch-system-systemd systemd-id128">
  532. <primary sortas="b-systemd-id128">systemd-id128</primary>
  533. </indexterm>
  534. </listitem>
  535. </varlistentry>
  536. <varlistentry id="systemd-inhibit">
  537. <term><command>systemd-inhibit</command></term>
  538. <listitem>
  539. <para>Is used to execute a program with a shutdown, sleep or idle
  540. inhibitor lock taken, preventing an action such as a system shutdown
  541. until the process is completed.</para>
  542. <indexterm zone="ch-system-systemd systemd-inhibit">
  543. <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
  544. </indexterm>
  545. </listitem>
  546. </varlistentry>
  547. <varlistentry id="systemd-machine-id-setup">
  548. <term><command>systemd-machine-id-setup</command></term>
  549. <listitem>
  550. <para>Is used by system installer tools to initialize the machine ID
  551. stored in <filename>/etc/machine-id</filename> at install time with a
  552. randomly generated ID</para>
  553. <indexterm zone="ch-system-systemd systemd-machine-id-setup">
  554. <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
  555. </indexterm>
  556. </listitem>
  557. </varlistentry>
  558. <varlistentry id="systemd-mount">
  559. <term><command>systemd-mount</command></term>
  560. <listitem>
  561. <para>Is used to temporarily mount or automount disks.</para>
  562. <indexterm zone="ch-system-systemd systemd-mount">
  563. <primary sortas="b-systemd-mount">systemd-mount</primary>
  564. </indexterm>
  565. </listitem>
  566. </varlistentry>
  567. <varlistentry id="systemd-notify">
  568. <term><command>systemd-notify</command></term>
  569. <listitem>
  570. <para>Is used by daemon scripts to notify the init system about status
  571. changes</para>
  572. <indexterm zone="ch-system-systemd systemd-notify">
  573. <primary sortas="b-systemd-notify">systemd-notify</primary>
  574. </indexterm>
  575. </listitem>
  576. </varlistentry>
  577. <varlistentry id="systemd-nspawn">
  578. <term><command>systemd-nspawn</command></term>
  579. <listitem>
  580. <para>Is used to run a command or OS in a light-weight namespace
  581. container</para>
  582. <indexterm zone="ch-system-systemd systemd-nspawn">
  583. <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
  584. </indexterm>
  585. </listitem>
  586. </varlistentry>
  587. <varlistentry id="systemd-path">
  588. <term><command>systemd-path</command></term>
  589. <listitem>
  590. <para>Is used to query system and user paths</para>
  591. <indexterm zone="ch-system-systemd systemd-path">
  592. <primary sortas="b-systemd-path">systemd-path</primary>
  593. </indexterm>
  594. </listitem>
  595. </varlistentry>
  596. <varlistentry id="systemd-repart">
  597. <term><command>systemd-repart</command></term>
  598. <listitem>
  599. <para>Is used to grow and add partitions to a partition table when
  600. systemd is used in an OS image (e.g. a container).</para>
  601. <indexterm zone="ch-system-systemd systemd-repart">
  602. <primary sortas="b-systemd-repart">systemd-repart</primary>
  603. </indexterm>
  604. </listitem>
  605. </varlistentry>
  606. <varlistentry id="systemd-resolve">
  607. <term><command>systemd-resolve</command></term>
  608. <listitem>
  609. <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
  610. resource records, and services</para>
  611. <indexterm zone="ch-system-systemd systemd-resolve">
  612. <primary sortas="b-systemd-resolve">systemd-resolve</primary>
  613. </indexterm>
  614. </listitem>
  615. </varlistentry>
  616. <varlistentry id="systemd-run">
  617. <term><command>systemd-run</command></term>
  618. <listitem>
  619. <para>Is used to create and start a transient .service or a .scope
  620. unit and run the specified command in it. This is useful for
  621. validating systemd units.</para>
  622. <indexterm zone="ch-system-systemd systemd-run">
  623. <primary sortas="b-systemd-run">systemd-run</primary>
  624. </indexterm>
  625. </listitem>
  626. </varlistentry>
  627. <varlistentry id="systemd-socket-activate">
  628. <term><command>systemd-socket-activate</command></term>
  629. <listitem>
  630. <para>Is used to listen on socket devices and launch a process upon
  631. a successful connection to the socket.</para>
  632. <indexterm zone="ch-system-systemd systemd-socket-activate">
  633. <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
  634. </indexterm>
  635. </listitem>
  636. </varlistentry>
  637. <varlistentry id="systemd-tmpfiles">
  638. <term><command>systemd-tmpfiles</command></term>
  639. <listitem>
  640. <para>Creates, deletes and cleans up volatile and temporary files and
  641. directories, based on the configuration file format and location
  642. specified in
  643. <filename class="directory">tmpfiles.d</filename> directories</para>
  644. <indexterm zone="ch-system-systemd systemd-tmpfiles">
  645. <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
  646. </indexterm>
  647. </listitem>
  648. </varlistentry>
  649. <varlistentry id="systemd-umount">
  650. <term><command>systemd-umount</command></term>
  651. <listitem>
  652. <para>Unmounts mount points</para>
  653. <indexterm zone="ch-system-systemd systemd-umount">
  654. <primary sortas="b-systemd-umount">systemd-umount</primary>
  655. </indexterm>
  656. </listitem>
  657. </varlistentry>
  658. <varlistentry id="systemd-tty-ask-password-agent">
  659. <term><command>systemd-tty-ask-password-agent</command></term>
  660. <listitem>
  661. <para>Is used to list and/or process pending systemd password
  662. requests</para>
  663. <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
  664. <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
  665. </indexterm>
  666. </listitem>
  667. </varlistentry>
  668. <varlistentry id="telinit">
  669. <term><command>telinit</command></term>
  670. <listitem>
  671. <para>Tells <command>init</command> which run-level to change
  672. to</para>
  673. <indexterm zone="ch-system-systemd telinit">
  674. <primary sortas="b-telinit">telinit</primary>
  675. </indexterm>
  676. </listitem>
  677. </varlistentry>
  678. <varlistentry id="timedatectl">
  679. <term><command>timedatectl</command></term>
  680. <listitem>
  681. <para>Is used to query and change the system clock and its settings
  682. </para>
  683. <indexterm zone="ch-system-systemd timedatectl">
  684. <primary sortas="b-timedatectl">timedatectl</primary>
  685. </indexterm>
  686. </listitem>
  687. </varlistentry>
  688. <varlistentry id="udevadm">
  689. <term><command>udevadm</command></term>
  690. <listitem>
  691. <para>Is a generic udev administration tool which controls the udevd
  692. daemon, provides info from the Udev hardware database, monitors
  693. uevents, waits for uevents to finish, tests udev configuration, and
  694. triggers uevents for a given device</para>
  695. <indexterm zone="ch-system-systemd udevadm">
  696. <primary sortas="b-udevadm">udevadm</primary>
  697. </indexterm>
  698. </listitem>
  699. </varlistentry>
  700. <varlistentry id="libsystemd">
  701. <term><filename class="libraryfile">libsystemd</filename></term>
  702. <listitem>
  703. <para>Is the main systemd utility library</para>
  704. <indexterm zone="ch-system-systemd libsystemd">
  705. <primary sortas="c-libsystemd">libsystemd</primary>
  706. </indexterm>
  707. </listitem>
  708. </varlistentry>
  709. <varlistentry id="libudev">
  710. <term><filename class="libraryfile">libudev</filename></term>
  711. <listitem>
  712. <para>Is a library to access Udev device information</para>
  713. <indexterm zone="ch-system-systemd libudev">
  714. <primary sortas="c-libudev">libudev</primary>
  715. </indexterm>
  716. </listitem>
  717. </varlistentry>
  718. </variablelist>
  719. </sect2>
  720. </sect1>