systemd.xml 31 KB

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