systemd.xml 30 KB

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