systemd.xml 31 KB

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