systemd.xml 28 KB

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