systemd.xml 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-systemd" role="wrap" revision="systemd">
  8. <?dbhtml filename="systemd.html"?>
  9. <sect1info condition="script">
  10. <productname>systemd</productname>
  11. <productnumber>&systemd-version;</productnumber>
  12. <address>&systemd-url;</address>
  13. </sect1info>
  14. <title>Systemd-&systemd-version;</title>
  15. <indexterm zone="ch-system-systemd">
  16. <primary sortas="a-systemd">systemd</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The systemd package contains programs for controlling the startup,
  21. running, and shutdown of the system.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&systemd-fin-sbu;</seg>
  27. <seg>&systemd-fin-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of systemd</title>
  33. <!--
  34. <para>First, apply a patch to fix the build with GCC-10 and fix a segfault:</para>
  35. <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-2.patch</userinput></screen>
  36. -->
  37. <!-- For linux-5.11's API headers changing the rfkill_event structure -->
  38. <para>First, apply a patch to fix some regressions and fix functionality
  39. with future versions of the kernel:</para>
  40. <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-2.patch</userinput></screen>
  41. <para>Create a symlink to work around the xsltproc command not being installed:</para>
  42. <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
  43. <para>Set up the man pages:</para>
  44. <screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
  45. <para>Remove tests that cannot be built in chroot:</para>
  46. <screen><userinput remap="pre">sed '181,$ d' -i src/resolve/meson.build</userinput></screen>
  47. <para>Remove an unneeded group,
  48. <systemitem class="groupname">render</systemitem>, from the default udev
  49. rules:</para>
  50. <screen><userinput remap="pre">sed -i 's/GROUP="render"/GROUP="video"/' rules.d/50-udev-default.rules.in</userinput></screen>
  51. <para>Prepare systemd for compilation:</para>
  52. <screen><userinput remap="configure">mkdir -p build
  53. cd build
  54. LANG=en_US.UTF-8 \
  55. meson --prefix=/usr \
  56. --sysconfdir=/etc \
  57. --localstatedir=/var \
  58. -Dblkid=true \
  59. -Dbuildtype=release \
  60. -Ddefault-dnssec=no \
  61. -Dfirstboot=false \
  62. -Dinstall-tests=false \
  63. -Dkmod-path=/bin/kmod \
  64. -Dldconfig=false \
  65. -Dmount-path=/bin/mount \
  66. -Drootprefix= \
  67. -Drootlibdir=/lib \
  68. -Dsplit-usr=true \
  69. -Dsulogin-path=/sbin/sulogin \
  70. -Dsysusers=false \
  71. -Dumount-path=/bin/umount \
  72. -Db_lto=false \
  73. -Drpmmacrosdir=no \
  74. -Dhomed=false \
  75. -Duserdb=false \
  76. -Dman=true \
  77. -Dmode=release \
  78. -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
  79. ..</userinput></screen>
  80. <variablelist>
  81. <title>The meaning of the meson options:</title>
  82. <varlistentry>
  83. <term><parameter>-D*-path=*</parameter></term>
  84. <listitem>
  85. <para>These switches provide the location of binaries needed by
  86. systemd at runtime that have not yet been installed.</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 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. <varlistentry>
  153. <term><parameter>-D{userdb,homed}=false</parameter></term>
  154. <listitem>
  155. <para>Remove two daemons that have dependencies that do not fit
  156. the scope of LFS.</para>
  157. </listitem>
  158. </varlistentry>
  159. <varlistentry>
  160. <term><parameter>-Dmode=release</parameter></term>
  161. <listitem>
  162. <para>Disable some features considered experimental by upstream.
  163. </para>
  164. </listitem>
  165. </varlistentry>
  166. </variablelist>
  167. <para>Compile the package:</para>
  168. <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
  169. <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>Remove a useless directory:</para>
  174. <screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen>
  175. <para>Create the <filename>/etc/machine-id</filename> file needed by
  176. <command>systemd-journald</command>:</para>
  177. <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
  178. <para>Setup the basic target structure:</para>
  179. <screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
  180. <para>Disable a service that is known to cause problems with systems that
  181. use a network configuration other than what is provided by
  182. systemd-networkd:</para>
  183. <!-- Observed halting startup with dhcpcd handling the primary NIC -->
  184. <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
  185. <!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
  186. If it causes any trouble, we can add this back and also copy it into BLFS -->
  187. <!--
  188. <para>Prevent systemd from resetting the maximum PID value which causes
  189. some problems with packages and units in BLFS:</para>
  190. <screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.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-dissect, systemd-escape,
  208. systemd-hwdb, 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/environment.d, /usr/lib/kernel,
  223. /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
  224. /usr/lib/tmpfiles.d,
  225. /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
  226. /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
  227. </seglistitem>
  228. </segmentedlist>
  229. <variablelist>
  230. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  231. <?dbfo list-presentation="list"?>
  232. <?dbhtml list-presentation="table"?>
  233. <varlistentry id="bootctl">
  234. <term><command>bootctl</command></term>
  235. <listitem>
  236. <para>Is used to query the firmware and boot manager settings</para>
  237. <indexterm zone="ch-system-systemd bootctl">
  238. <primary sortas="b-bootctl">bootctl</primary>
  239. </indexterm>
  240. </listitem>
  241. </varlistentry>
  242. <varlistentry id="busctl">
  243. <term><command>busctl</command></term>
  244. <listitem>
  245. <para>Is used to introspect and monitor the D-Bus bus</para>
  246. <indexterm zone="ch-system-systemd busctl">
  247. <primary sortas="b-busctl">busctl</primary>
  248. </indexterm>
  249. </listitem>
  250. </varlistentry>
  251. <varlistentry id="coredumpctl">
  252. <term><command>coredumpctl</command></term>
  253. <listitem>
  254. <para>Is used to retrieve coredumps from the systemd journal</para>
  255. <indexterm zone="ch-system-systemd coredumpctl">
  256. <primary sortas="b-coredumpctl">coredumpctl</primary>
  257. </indexterm>
  258. </listitem>
  259. </varlistentry>
  260. <varlistentry id="halt">
  261. <term><command>halt</command></term>
  262. <listitem>
  263. <para>Normally invokes <command>shutdown</command> with the
  264. <parameter>-h</parameter> option, except when already in run-level 0,
  265. then it tells the kernel to halt the system; it notes in the
  266. file <filename>/var/log/wtmp</filename> that the system is being
  267. brought down</para>
  268. <indexterm zone="ch-system-systemd halt">
  269. <primary sortas="b-halt">halt</primary>
  270. </indexterm>
  271. </listitem>
  272. </varlistentry>
  273. <varlistentry id="hostnamectl">
  274. <term><command>hostnamectl</command></term>
  275. <listitem>
  276. <para>Is used to query and change the system hostname and related
  277. settings</para>
  278. <indexterm zone="ch-system-systemd hostnamectl">
  279. <primary sortas="b-hostnamectl">hostnamectl</primary>
  280. </indexterm>
  281. </listitem>
  282. </varlistentry>
  283. <varlistentry id="init">
  284. <term><command>init</command></term>
  285. <listitem>
  286. <para>Is the first process to be started when the kernel has initialized
  287. the hardware which takes over the boot process and starts all
  288. processes according to its configuration files. In this case, it starts
  289. systemd</para>
  290. <indexterm zone="ch-system-systemd init">
  291. <primary sortas="b-init">init</primary>
  292. </indexterm>
  293. </listitem>
  294. </varlistentry>
  295. <varlistentry id="journalctl">
  296. <term><command>journalctl</command></term>
  297. <listitem>
  298. <para>Is used to query the contents of the systemd journal</para>
  299. <indexterm zone="ch-system-systemd journalctl">
  300. <primary sortas="b-journalctl">journalctl</primary>
  301. </indexterm>
  302. </listitem>
  303. </varlistentry>
  304. <varlistentry id="kernel-install">
  305. <term><command>kernel-install</command></term>
  306. <listitem>
  307. <para>Is used to add and remove kernel and initramfs images to and
  308. from /boot. In LFS, this is done manually</para>
  309. <indexterm zone="ch-system-systemd kernel-install">
  310. <primary sortas="b-kernel-install">kernel-install</primary>
  311. </indexterm>
  312. </listitem>
  313. </varlistentry>
  314. <varlistentry id="localectl">
  315. <term><command>localectl</command></term>
  316. <listitem>
  317. <para>Is used to query and change the system locale and keyboard layout
  318. settings</para>
  319. <indexterm zone="ch-system-systemd localectl">
  320. <primary sortas="b-localectl">localectl</primary>
  321. </indexterm>
  322. </listitem>
  323. </varlistentry>
  324. <varlistentry id="loginctl">
  325. <term><command>loginctl</command></term>
  326. <listitem>
  327. <para>Is used to introspect and control the state of the systemd Login
  328. Manager</para>
  329. <indexterm zone="ch-system-systemd loginctl">
  330. <primary sortas="b-loginctl">loginctl</primary>
  331. </indexterm>
  332. </listitem>
  333. </varlistentry>
  334. <varlistentry id="machinectl">
  335. <term><command>machinectl</command></term>
  336. <listitem>
  337. <para>Is used to introspect and control the state of the systemd Virtual
  338. Machine and Container Registration Manager</para>
  339. <indexterm zone="ch-system-systemd machinectl">
  340. <primary sortas="b-machinectl">machinectl</primary>
  341. </indexterm>
  342. </listitem>
  343. </varlistentry>
  344. <varlistentry id="networkctl">
  345. <term><command>networkctl</command></term>
  346. <listitem>
  347. <para>Is used to introspect and configure the state of the network
  348. links configured by systemd-networkd</para>
  349. <indexterm zone="ch-system-systemd networkctl">
  350. <primary sortas="b-networkctl">networkctl</primary>
  351. </indexterm>
  352. </listitem>
  353. </varlistentry>
  354. <varlistentry id="portablectl">
  355. <term><command>portablectl</command></term>
  356. <listitem>
  357. <para>Is used to attach or detach portable services from the local
  358. system</para>
  359. <indexterm zone="ch-system-systemd portablectl">
  360. <primary sortas="b-portablectl">portablectl</primary>
  361. </indexterm>
  362. </listitem>
  363. </varlistentry>
  364. <varlistentry id="poweroff">
  365. <term><command>poweroff</command></term>
  366. <listitem>
  367. <para>Instructs the kernel to halt the system and switch off the computer
  368. (see <command>halt</command>)</para>
  369. <indexterm zone="ch-system-systemd poweroff">
  370. <primary sortas="b-poweroff">poweroff</primary>
  371. </indexterm>
  372. </listitem>
  373. </varlistentry>
  374. <varlistentry id="reboot">
  375. <term><command>reboot</command></term>
  376. <listitem>
  377. <para>Instructs the kernel to reboot the system (see
  378. <command>halt</command>)</para>
  379. <indexterm zone="ch-system-systemd reboot">
  380. <primary sortas="b-reboot">reboot</primary>
  381. </indexterm>
  382. </listitem>
  383. </varlistentry>
  384. <varlistentry id="resolvconf">
  385. <term><command>resolvconf</command></term>
  386. <listitem>
  387. <para>Registers DNS server and domain configuration with
  388. <command>systemd-resolved</command></para>
  389. <indexterm zone="ch-system-systemd resolvconf">
  390. <primary sortas="b-resolvconf">resolvconf</primary>
  391. </indexterm>
  392. </listitem>
  393. </varlistentry>
  394. <varlistentry id="resolvectl">
  395. <term><command>resolvectl</command></term>
  396. <listitem>
  397. <para>Sends control commands to the network name resolution
  398. manager, or resolves domain names, IPv4 and IPv6 addresses,
  399. DNS records, and services</para>
  400. <indexterm zone="ch-system-systemd resolvectl">
  401. <primary sortas="b-resolvectl">resolvectl</primary>
  402. </indexterm>
  403. </listitem>
  404. </varlistentry>
  405. <varlistentry id="runlevel">
  406. <term><command>runlevel</command></term>
  407. <listitem>
  408. <para>Outputs the previous and the current run-level, as noted in the
  409. last run-level record in <filename>/run/utmp</filename></para>
  410. <indexterm zone="ch-system-systemd runlevel">
  411. <primary sortas="b-runlevel">runlevel</primary>
  412. </indexterm>
  413. </listitem>
  414. </varlistentry>
  415. <varlistentry id="shutdown">
  416. <term><command>shutdown</command></term>
  417. <listitem>
  418. <para>Brings the system down in a safe and secure manner, signaling
  419. all processes and notifying all logged-in users</para>
  420. <indexterm zone="ch-system-systemd shutdown">
  421. <primary sortas="b-shutdown">shutdown</primary>
  422. </indexterm>
  423. </listitem>
  424. </varlistentry>
  425. <varlistentry id="systemctl">
  426. <term><command>systemctl</command></term>
  427. <listitem>
  428. <para>Is used to introspect and control the state of the systemd system
  429. and service manager</para>
  430. <indexterm zone="ch-system-systemd systemctl">
  431. <primary sortas="b-systemctl">systemctl</primary>
  432. </indexterm>
  433. </listitem>
  434. </varlistentry>
  435. <varlistentry id="systemd-analyze">
  436. <term><command>systemd-analyze</command></term>
  437. <listitem>
  438. <para>Is used to determine system startup performance of the current
  439. boot, as well as identify troublesome systemd units</para>
  440. <indexterm zone="ch-system-systemd systemd-analyze">
  441. <primary sortas="b-systemd-analyze">systemd-analyze</primary>
  442. </indexterm>
  443. </listitem>
  444. </varlistentry>
  445. <varlistentry id="systemd-ask-password">
  446. <term><command>systemd-ask-password</command></term>
  447. <listitem>
  448. <para>Is used to query a system password or passphrase from the user,
  449. using a question message specified on the command line</para>
  450. <indexterm zone="ch-system-systemd systemd-ask-password">
  451. <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
  452. </indexterm>
  453. </listitem>
  454. </varlistentry>
  455. <varlistentry id="systemd-cat">
  456. <term><command>systemd-cat</command></term>
  457. <listitem>
  458. <para>Is used to connect the STDOUT and STDERR outputs of a process
  459. with the systemd journal
  460. </para>
  461. <indexterm zone="ch-system-systemd systemd-cat">
  462. <primary sortas="b-systemd-cat">systemd-cat</primary>
  463. </indexterm>
  464. </listitem>
  465. </varlistentry>
  466. <varlistentry id="systemd-cgls">
  467. <term><command>systemd-cgls</command></term>
  468. <listitem>
  469. <para>Recursively shows the contents of the selected Linux control
  470. group hierarchy in a tree</para>
  471. <indexterm zone="ch-system-systemd systemd-cgls">
  472. <primary sortas="b-systemd-cgls">systemd-cgls</primary>
  473. </indexterm>
  474. </listitem>
  475. </varlistentry>
  476. <varlistentry id="systemd-cgtop">
  477. <term><command>systemd-cgtop</command></term>
  478. <listitem>
  479. <para>Shows the top control groups of the local Linux control group
  480. hierarchy, ordered by their CPU, memory and disk I/O load</para>
  481. <indexterm zone="ch-system-systemd systemd-cgtop">
  482. <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
  483. </indexterm>
  484. </listitem>
  485. </varlistentry>
  486. <varlistentry id="systemd-delta">
  487. <term><command>systemd-delta</command></term>
  488. <listitem>
  489. <para>Is used to identify and compare configuration files in
  490. <filename class="directory">/etc</filename> that override default
  491. counterparts in <filename class="directory">/usr</filename></para>
  492. <indexterm zone="ch-system-systemd systemd-delta">
  493. <primary sortas="b-systemd-delta">systemd-delta</primary>
  494. </indexterm>
  495. </listitem>
  496. </varlistentry>
  497. <varlistentry id="systemd-detect-virt">
  498. <term><command>systemd-detect-virt</command></term>
  499. <listitem>
  500. <para>Detects whether the system is being run in a virtual
  501. environment, and adjusts udev accordingly</para>
  502. <indexterm zone="ch-system-systemd systemd-detect-virt">
  503. <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
  504. </indexterm>
  505. </listitem>
  506. </varlistentry>
  507. <varlistentry id="systemd-dissect">
  508. <term><command>systemd-dissect</command></term>
  509. <listitem>
  510. <para>Is used to inspect OS disk images</para>
  511. <indexterm zone="ch-system-systemd systemd-dissect">
  512. <primary sortas="b-systemd-dissect">systemd-dissect</primary>
  513. </indexterm>
  514. </listitem>
  515. </varlistentry>
  516. <varlistentry id="systemd-escape">
  517. <term><command>systemd-escape</command></term>
  518. <listitem>
  519. <para>Is used to escape strings for inclusion in systemd unit
  520. names</para>
  521. <indexterm zone="ch-system-systemd systemd-escape">
  522. <primary sortas="b-systemd-escape">systemd-escape</primary>
  523. </indexterm>
  524. </listitem>
  525. </varlistentry>
  526. <varlistentry id="systemd-hwdb">
  527. <term><command>systemd-hwdb</command></term>
  528. <listitem>
  529. <para>Is used to manage the hardware database (hwdb)</para>
  530. <indexterm zone="ch-system-systemd systemd-hwdb">
  531. <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
  532. </indexterm>
  533. </listitem>
  534. </varlistentry>
  535. <varlistentry id="systemd-id128">
  536. <term><command>systemd-id128</command></term>
  537. <listitem>
  538. <para>Generates and prints id128 strings</para>
  539. <indexterm zone="ch-system-systemd systemd-id128">
  540. <primary sortas="b-systemd-id128">systemd-id128</primary>
  541. </indexterm>
  542. </listitem>
  543. </varlistentry>
  544. <varlistentry id="systemd-inhibit">
  545. <term><command>systemd-inhibit</command></term>
  546. <listitem>
  547. <para>Is used to execute a program with a shutdown, sleep or idle
  548. inhibitor lock taken, preventing an action such as a system shutdown
  549. until the process is completed</para>
  550. <indexterm zone="ch-system-systemd systemd-inhibit">
  551. <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
  552. </indexterm>
  553. </listitem>
  554. </varlistentry>
  555. <varlistentry id="systemd-machine-id-setup">
  556. <term><command>systemd-machine-id-setup</command></term>
  557. <listitem>
  558. <para>Is used by system installer tools to initialize the machine ID
  559. stored in <filename>/etc/machine-id</filename> at install time with a
  560. randomly generated ID</para>
  561. <indexterm zone="ch-system-systemd systemd-machine-id-setup">
  562. <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
  563. </indexterm>
  564. </listitem>
  565. </varlistentry>
  566. <varlistentry id="systemd-mount">
  567. <term><command>systemd-mount</command></term>
  568. <listitem>
  569. <para>Is used to temporarily mount or automount disks</para>
  570. <indexterm zone="ch-system-systemd systemd-mount">
  571. <primary sortas="b-systemd-mount">systemd-mount</primary>
  572. </indexterm>
  573. </listitem>
  574. </varlistentry>
  575. <varlistentry id="systemd-notify">
  576. <term><command>systemd-notify</command></term>
  577. <listitem>
  578. <para>Is used by daemon scripts to notify the init system about status
  579. changes</para>
  580. <indexterm zone="ch-system-systemd systemd-notify">
  581. <primary sortas="b-systemd-notify">systemd-notify</primary>
  582. </indexterm>
  583. </listitem>
  584. </varlistentry>
  585. <varlistentry id="systemd-nspawn">
  586. <term><command>systemd-nspawn</command></term>
  587. <listitem>
  588. <para>Is used to run a command or OS in a light-weight namespace
  589. container</para>
  590. <indexterm zone="ch-system-systemd systemd-nspawn">
  591. <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
  592. </indexterm>
  593. </listitem>
  594. </varlistentry>
  595. <varlistentry id="systemd-path">
  596. <term><command>systemd-path</command></term>
  597. <listitem>
  598. <para>Is used to query system and user paths</para>
  599. <indexterm zone="ch-system-systemd systemd-path">
  600. <primary sortas="b-systemd-path">systemd-path</primary>
  601. </indexterm>
  602. </listitem>
  603. </varlistentry>
  604. <varlistentry id="systemd-repart">
  605. <term><command>systemd-repart</command></term>
  606. <listitem>
  607. <para>Is used to grow and add partitions to a partition table when
  608. systemd is used in an OS image (e.g. a container)</para>
  609. <indexterm zone="ch-system-systemd systemd-repart">
  610. <primary sortas="b-systemd-repart">systemd-repart</primary>
  611. </indexterm>
  612. </listitem>
  613. </varlistentry>
  614. <varlistentry id="systemd-resolve">
  615. <term><command>systemd-resolve</command></term>
  616. <listitem>
  617. <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
  618. resource records, and services</para>
  619. <indexterm zone="ch-system-systemd systemd-resolve">
  620. <primary sortas="b-systemd-resolve">systemd-resolve</primary>
  621. </indexterm>
  622. </listitem>
  623. </varlistentry>
  624. <varlistentry id="systemd-run">
  625. <term><command>systemd-run</command></term>
  626. <listitem>
  627. <para>Is used to create and start a transient .service or a .scope
  628. unit and run the specified command in it. This is useful for
  629. validating systemd units</para>
  630. <indexterm zone="ch-system-systemd systemd-run">
  631. <primary sortas="b-systemd-run">systemd-run</primary>
  632. </indexterm>
  633. </listitem>
  634. </varlistentry>
  635. <varlistentry id="systemd-socket-activate">
  636. <term><command>systemd-socket-activate</command></term>
  637. <listitem>
  638. <para>Is used to listen on socket devices and launch a process upon
  639. a successful connection to the socket</para>
  640. <indexterm zone="ch-system-systemd systemd-socket-activate">
  641. <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
  642. </indexterm>
  643. </listitem>
  644. </varlistentry>
  645. <varlistentry id="systemd-tmpfiles">
  646. <term><command>systemd-tmpfiles</command></term>
  647. <listitem>
  648. <para>Creates, deletes and cleans up volatile and temporary files and
  649. directories, based on the configuration file format and location
  650. specified in
  651. <filename class="directory">tmpfiles.d</filename> directories</para>
  652. <indexterm zone="ch-system-systemd systemd-tmpfiles">
  653. <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
  654. </indexterm>
  655. </listitem>
  656. </varlistentry>
  657. <varlistentry id="systemd-umount">
  658. <term><command>systemd-umount</command></term>
  659. <listitem>
  660. <para>Unmounts mount points</para>
  661. <indexterm zone="ch-system-systemd systemd-umount">
  662. <primary sortas="b-systemd-umount">systemd-umount</primary>
  663. </indexterm>
  664. </listitem>
  665. </varlistentry>
  666. <varlistentry id="systemd-tty-ask-password-agent">
  667. <term><command>systemd-tty-ask-password-agent</command></term>
  668. <listitem>
  669. <para>Is used to list and/or process pending systemd password
  670. requests</para>
  671. <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
  672. <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
  673. </indexterm>
  674. </listitem>
  675. </varlistentry>
  676. <varlistentry id="telinit">
  677. <term><command>telinit</command></term>
  678. <listitem>
  679. <para>Tells <command>init</command> which run-level to change
  680. to</para>
  681. <indexterm zone="ch-system-systemd telinit">
  682. <primary sortas="b-telinit">telinit</primary>
  683. </indexterm>
  684. </listitem>
  685. </varlistentry>
  686. <varlistentry id="timedatectl">
  687. <term><command>timedatectl</command></term>
  688. <listitem>
  689. <para>Is used to query and change the system clock and its settings
  690. </para>
  691. <indexterm zone="ch-system-systemd timedatectl">
  692. <primary sortas="b-timedatectl">timedatectl</primary>
  693. </indexterm>
  694. </listitem>
  695. </varlistentry>
  696. <varlistentry id="udevadm">
  697. <term><command>udevadm</command></term>
  698. <listitem>
  699. <para>Is a generic udev administration tool which controls the udevd
  700. daemon, provides info from the Udev hardware database, monitors
  701. uevents, waits for uevents to finish, tests udev configuration, and
  702. triggers uevents for a given device</para>
  703. <indexterm zone="ch-system-systemd udevadm">
  704. <primary sortas="b-udevadm">udevadm</primary>
  705. </indexterm>
  706. </listitem>
  707. </varlistentry>
  708. <varlistentry id="libsystemd">
  709. <term><filename class="libraryfile">libsystemd</filename></term>
  710. <listitem>
  711. <para>Is the main systemd utility library</para>
  712. <indexterm zone="ch-system-systemd libsystemd">
  713. <primary sortas="c-libsystemd">libsystemd</primary>
  714. </indexterm>
  715. </listitem>
  716. </varlistentry>
  717. <varlistentry id="libudev">
  718. <term><filename class="libraryfile">libudev</filename></term>
  719. <listitem>
  720. <para>Is a library to access Udev device information</para>
  721. <indexterm zone="ch-system-systemd libudev">
  722. <primary sortas="c-libudev">libudev</primary>
  723. </indexterm>
  724. </listitem>
  725. </varlistentry>
  726. </variablelist>
  727. </sect2>
  728. </sect1>