systemd.xml 30 KB

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