systemd.xml 27 KB

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