systemd.xml 28 KB

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