systemd.xml 30 KB

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