systemd.xml 31 KB

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