systemd.xml 30 KB

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