systemd.xml 29 KB

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