systemd.xml 27 KB

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