systemd.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  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 ::g' \
  42. -e 's:test-copy$(EXEEXT) ::g' \
  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. <para>Remove a reference to a non-existent group:</para>
  171. <screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
  172. <para>Create the <filename>/etc/machine-id</filename> file needed by
  173. <command>systemd-journald</command>:</para>
  174. <screen><userinput remap="install">systemd-machine-id-setup</userinput></screen>
  175. <para>Since the testsuite largely depends on the host system kernel
  176. configuration, some tests may fail. It also needs a modification in
  177. order not to look for a program that will be installed by Util-Linux
  178. package later in this chapter. To test the results, issue:</para>
  179. <screen><userinput remap="test">sed -i "s:minix:ext4:g" src/test/test-path-util.c
  180. make LD_LIBRARY_PATH=/tools/lib -k check</userinput></screen>
  181. </sect2>
  182. <sect2 id="contents-systemd" role="content">
  183. <title>Contents of systemd</title>
  184. <segmentedlist>
  185. <segtitle>Installed programs</segtitle>
  186. <segtitle>Installed libraries</segtitle>
  187. <segtitle>Installed directories</segtitle>
  188. <seglistitem>
  189. <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl,
  190. kernel-install, localectl, loginctl, machinectl, networkctl, poweroff,
  191. reboot, runlevel, shutdown, systemctl, systemd-analyze,
  192. systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
  193. systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
  194. systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn,
  195. systemd-path, systemd-run, systemd-stdio-bridge, systemd-tmpfiles,
  196. systemd-tty-ask-password-agent, telinit, timedatectl, and udevadm</seg>
  197. <seg>libnss_myhostname.so.2, libnss_mymachines.so.2, libnss_resolve.so.2,
  198. libsystemd.so, and libudev.so</seg>
  199. <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
  200. /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
  201. /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
  202. /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
  203. /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
  204. /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
  205. /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
  206. </seglistitem>
  207. </segmentedlist>
  208. <variablelist>
  209. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  210. <?dbfo list-presentation="list"?>
  211. <?dbhtml list-presentation="table"?>
  212. <varlistentry id="bootctl">
  213. <term><command>bootctl</command></term>
  214. <listitem>
  215. <para>used to query the firmware and boot manager settings</para>
  216. <indexterm zone="ch-system-systemd bootctl">
  217. <primary sortas="b-bootctl">bootctl</primary>
  218. </indexterm>
  219. </listitem>
  220. </varlistentry>
  221. <varlistentry id="busctl">
  222. <term><command>busctl</command></term>
  223. <listitem>
  224. <para>Used to introspect and monitor the D-Bus bus</para>
  225. <indexterm zone="ch-system-systemd busctl">
  226. <primary sortas="b-busctl">busctl</primary>
  227. </indexterm>
  228. </listitem>
  229. </varlistentry>
  230. <varlistentry id="coredumpctl">
  231. <term><command>coredumpctl</command></term>
  232. <listitem>
  233. <para>Used to retrieve coredumps from the systemd Journal</para>
  234. <indexterm zone="ch-system-systemd coredumpctl">
  235. <primary sortas="b-coredumpctl">coredumpctl</primary>
  236. </indexterm>
  237. </listitem>
  238. </varlistentry>
  239. <varlistentry id="halt">
  240. <term><command>halt</command></term>
  241. <listitem>
  242. <para>Normally invokes <command>shutdown</command> with the
  243. <parameter>-h</parameter> option, except when already in run-level 0,
  244. then it tells the kernel to halt the system; it notes in the
  245. file <filename>/var/log/wtmp</filename> that the system is being
  246. brought down</para>
  247. <indexterm zone="ch-system-systemd halt">
  248. <primary sortas="b-halt">halt</primary>
  249. </indexterm>
  250. </listitem>
  251. </varlistentry>
  252. <varlistentry id="hostnamectl">
  253. <term><command>hostnamectl</command></term>
  254. <listitem>
  255. <para>Used to query and change the system hostname and related
  256. settings</para>
  257. <indexterm zone="ch-system-systemd hostnamectl">
  258. <primary sortas="b-hostnamectl">hostnamectl</primary>
  259. </indexterm>
  260. </listitem>
  261. </varlistentry>
  262. <varlistentry id="init">
  263. <term><command>init</command></term>
  264. <listitem>
  265. <para>The first process to be started when the kernel has initialized
  266. the hardware which takes over the boot process and starts all the
  267. proceses it is instructed to</para>
  268. <indexterm zone="ch-system-systemd init">
  269. <primary sortas="b-init">init</primary>
  270. </indexterm>
  271. </listitem>
  272. </varlistentry>
  273. <varlistentry id="journalctl">
  274. <term><command>journalctl</command></term>
  275. <listitem>
  276. <para>Used to query the contents of the systemd Journal</para>
  277. <indexterm zone="ch-system-systemd journalctl">
  278. <primary sortas="b-journalctl">journalctl</primary>
  279. </indexterm>
  280. </listitem>
  281. </varlistentry>
  282. <varlistentry id="kernel-install">
  283. <term><command>kernel-install</command></term>
  284. <listitem>
  285. <para>Used to add and remove kernel and initramfs images to and
  286. from /boot</para>
  287. <indexterm zone="ch-system-systemd kernel-install">
  288. <primary sortas="b-kernel-install">kernel-install</primary>
  289. </indexterm>
  290. </listitem>
  291. </varlistentry>
  292. <varlistentry id="localectl">
  293. <term><command>localectl</command></term>
  294. <listitem>
  295. <para>Used to query and change the system locale and keyboard layout
  296. settings</para>
  297. <indexterm zone="ch-system-systemd localectl">
  298. <primary sortas="b-localectl">localectl</primary>
  299. </indexterm>
  300. </listitem>
  301. </varlistentry>
  302. <varlistentry id="loginctl">
  303. <term><command>loginctl</command></term>
  304. <listitem>
  305. <para>Used to introspect and control the state of the systemd Login
  306. Manager</para>
  307. <indexterm zone="ch-system-systemd loginctl">
  308. <primary sortas="b-loginctl">loginctl</primary>
  309. </indexterm>
  310. </listitem>
  311. </varlistentry>
  312. <varlistentry id="machinectl">
  313. <term><command>machinectl</command></term>
  314. <listitem>
  315. <para>Used to introspect and control the state of the systemd Virtual
  316. Machine and Container Registration Manager</para>
  317. <indexterm zone="ch-system-systemd machinectl">
  318. <primary sortas="b-machinectl">machinectl</primary>
  319. </indexterm>
  320. </listitem>
  321. </varlistentry>
  322. <varlistentry id="networkctl">
  323. <term><command>networkctl</command></term>
  324. <listitem>
  325. <para>Used to introspect the state of the network links as seen by
  326. systemd-networkd</para>
  327. <indexterm zone="ch-system-systemd networkctl">
  328. <primary sortas="b-networkctl">networkctl</primary>
  329. </indexterm>
  330. </listitem>
  331. </varlistentry>
  332. <varlistentry id="poweroff">
  333. <term><command>poweroff</command></term>
  334. <listitem>
  335. <para>Tells the kernel to halt the system and switch off the computer
  336. (see <command>halt</command>)</para>
  337. <indexterm zone="ch-system-systemd poweroff">
  338. <primary sortas="b-poweroff">poweroff</primary>
  339. </indexterm>
  340. </listitem>
  341. </varlistentry>
  342. <varlistentry id="reboot">
  343. <term><command>reboot</command></term>
  344. <listitem>
  345. <para>Tells the kernel to reboot the system (see
  346. <command>halt</command>)</para>
  347. <indexterm zone="ch-system-systemd reboot">
  348. <primary sortas="b-reboot">reboot</primary>
  349. </indexterm>
  350. </listitem>
  351. </varlistentry>
  352. <varlistentry id="runlevel">
  353. <term><command>runlevel</command></term>
  354. <listitem>
  355. <para>Reports the previous and the current run-level, as noted in the
  356. last run-level record in <filename>/var/run/utmp</filename></para>
  357. <indexterm zone="ch-system-systemd runlevel">
  358. <primary sortas="b-runlevel">runlevel</primary>
  359. </indexterm>
  360. </listitem>
  361. </varlistentry>
  362. <varlistentry id="shutdown">
  363. <term><command>shutdown</command></term>
  364. <listitem>
  365. <para>Brings the system down in a secure way, signaling all processes
  366. and notifying all logged-in users</para>
  367. <indexterm zone="ch-system-systemd shutdown">
  368. <primary sortas="b-shutdown">shutdown</primary>
  369. </indexterm>
  370. </listitem>
  371. </varlistentry>
  372. <varlistentry id="systemctl">
  373. <term><command>systemctl</command></term>
  374. <listitem>
  375. <para>Used to introspect and control the state of the systemd system and
  376. service manager</para>
  377. <indexterm zone="ch-system-systemd systemctl">
  378. <primary sortas="b-systemctl">systemctl</primary>
  379. </indexterm>
  380. </listitem>
  381. </varlistentry>
  382. <varlistentry id="systemd-analyze">
  383. <term><command>systemd-analyze</command></term>
  384. <listitem>
  385. <para>Used to determine system boot-up performance of the current boot
  386. </para>
  387. <indexterm zone="ch-system-systemd systemd-analyze">
  388. <primary sortas="b-systemd-analyze">systemd-analyze</primary>
  389. </indexterm>
  390. </listitem>
  391. </varlistentry>
  392. <varlistentry id="systemd-ask-password">
  393. <term><command>systemd-ask-password</command></term>
  394. <listitem>
  395. <para>Used to query a system password or passphrase from the user, using a
  396. question message specified on the command line</para>
  397. <indexterm zone="ch-system-systemd systemd-ask-password">
  398. <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
  399. </indexterm>
  400. </listitem>
  401. </varlistentry>
  402. <varlistentry id="systemd-cat">
  403. <term><command>systemd-cat</command></term>
  404. <listitem>
  405. <para>Used to connect STDOUT and STDERR of a process with the Journal
  406. </para>
  407. <indexterm zone="ch-system-systemd systemd-cat">
  408. <primary sortas="b-systemd-cat">systemd-cat</primary>
  409. </indexterm>
  410. </listitem>
  411. </varlistentry>
  412. <varlistentry id="systemd-cgls">
  413. <term><command>systemd-cgls</command></term>
  414. <listitem>
  415. <para>Recursively shows the contents of the selected Linux control group
  416. hierarchy in a tree</para>
  417. <indexterm zone="ch-system-systemd systemd-cgls">
  418. <primary sortas="b-systemd-cgls">systemd-cgls</primary>
  419. </indexterm>
  420. </listitem>
  421. </varlistentry>
  422. <varlistentry id="systemd-cgtop">
  423. <term><command>systemd-cgtop</command></term>
  424. <listitem>
  425. <para>Shows the top control groups of the local Linux control group hierarchy,
  426. ordered by their CPU, memory and disk I/O load</para>
  427. <indexterm zone="ch-system-systemd systemd-cgtop">
  428. <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
  429. </indexterm>
  430. </listitem>
  431. </varlistentry>
  432. <varlistentry id="systemd-delta">
  433. <term><command>systemd-delta</command></term>
  434. <listitem>
  435. <para>Used to identify and compare configuration files in
  436. <filename class="directory">/etc</filename> that override default
  437. counterparts in <filename class="directory">/usr</filename></para>
  438. <indexterm zone="ch-system-systemd systemd-delta">
  439. <primary sortas="b-systemd-delta">systemd-delta</primary>
  440. </indexterm>
  441. </listitem>
  442. </varlistentry>
  443. <varlistentry id="systemd-detect-virt">
  444. <term><command>systemd-detect-virt</command></term>
  445. <listitem>
  446. <para>Detects execution in a virtualized environment</para>
  447. <indexterm zone="ch-system-systemd systemd-detect-virt">
  448. <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
  449. </indexterm>
  450. </listitem>
  451. </varlistentry>
  452. <varlistentry id="systemd-escape">
  453. <term><command>systemd-escape</command></term>
  454. <listitem>
  455. <para>Used to escape strings for inclusion in systemd unit names</para>
  456. <indexterm zone="ch-system-systemd systemd-escape">
  457. <primary sortas="b-systemd-escape">systemd-escape</primary>
  458. </indexterm>
  459. </listitem>
  460. </varlistentry>
  461. <varlistentry id="systemd-hwdb">
  462. <term><command>systemd-hwdb</command></term>
  463. <listitem>
  464. <para>Used to manage hardware database (hwdb)</para>
  465. <indexterm zone="ch-system-systemd systemd-hwdb">
  466. <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
  467. </indexterm>
  468. </listitem>
  469. </varlistentry>
  470. <varlistentry id="systemd-inhibit">
  471. <term><command>systemd-inhibit</command></term>
  472. <listitem>
  473. <para>Used to execute a program with a shutdown, sleep or idle inhibitor lock
  474. taken</para>
  475. <indexterm zone="ch-system-systemd systemd-inhibit">
  476. <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
  477. </indexterm>
  478. </listitem>
  479. </varlistentry>
  480. <varlistentry id="systemd-machine-id-setup">
  481. <term><command>systemd-machine-id-setup</command></term>
  482. <listitem>
  483. <para>Used by system installer tools to initialize the machine ID stored in
  484. <filename>/etc/machine-id</filename> at install time with a randomly
  485. generated ID</para>
  486. <indexterm zone="ch-system-systemd systemd-machine-id-setup">
  487. <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
  488. </indexterm>
  489. </listitem>
  490. </varlistentry>
  491. <varlistentry id="systemd-notify">
  492. <term><command>systemd-notify</command></term>
  493. <listitem>
  494. <para>Used by daemon scripts to notify the init system about status changes
  495. </para>
  496. <indexterm zone="ch-system-systemd systemd-notify">
  497. <primary sortas="b-systemd-notify">systemd-notify</primary>
  498. </indexterm>
  499. </listitem>
  500. </varlistentry>
  501. <varlistentry id="systemd-nspawn">
  502. <term><command>systemd-nspawn</command></term>
  503. <listitem>
  504. <para>Used to run a command or OS in a light-weight namespace container</para>
  505. <indexterm zone="ch-system-systemd systemd-nspawn">
  506. <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
  507. </indexterm>
  508. </listitem>
  509. </varlistentry>
  510. <varlistentry id="systemd-path">
  511. <term><command>systemd-path</command></term>
  512. <listitem>
  513. <para>Used to query system and user paths</para>
  514. <indexterm zone="ch-system-systemd systemd-path">
  515. <primary sortas="b-systemd-path">systemd-path</primary>
  516. </indexterm>
  517. </listitem>
  518. </varlistentry>
  519. <varlistentry id="systemd-run">
  520. <term><command>systemd-run</command></term>
  521. <listitem>
  522. <para>Used to create and start a transient .service or a .scope unit and
  523. run the specified command in it</para>
  524. <indexterm zone="ch-system-systemd systemd-run">
  525. <primary sortas="b-systemd-run">systemd-run</primary>
  526. </indexterm>
  527. </listitem>
  528. </varlistentry>
  529. <!-- <varlistentry id="systemd-stdio-bridge">
  530. <term><command>systemd-stdio-bridge</command></term>
  531. <listitem>
  532. <para>To be completed</para>
  533. <indexterm zone="ch-system-systemd systemd-stdio-bridge">
  534. <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary>
  535. </indexterm>
  536. </listitem>
  537. </varlistentry> -->
  538. <varlistentry id="systemd-tmpfiles">
  539. <term><command>systemd-tmpfiles</command></term>
  540. <listitem>
  541. <para>Creates, deletes and cleans up volatile and temporary files and directories,
  542. based on the configuration file format and location specified in
  543. <filename class="directory">tmpfiles.d</filename> directories</para>
  544. <indexterm zone="ch-system-systemd systemd-tmpfiles">
  545. <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
  546. </indexterm>
  547. </listitem>
  548. </varlistentry>
  549. <varlistentry id="systemd-tty-ask-password-agent">
  550. <term><command>systemd-tty-ask-password-agent</command></term>
  551. <listitem>
  552. <para>Used to list or process pending systemd password requests</para>
  553. <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
  554. <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
  555. </indexterm>
  556. </listitem>
  557. </varlistentry>
  558. <varlistentry id="telinit">
  559. <term><command>telinit</command></term>
  560. <listitem>
  561. <para>Tells <command>init</command> which run-level to change to</para>
  562. <indexterm zone="ch-system-systemd telinit">
  563. <primary sortas="b-telinit">telinit</primary>
  564. </indexterm>
  565. </listitem>
  566. </varlistentry>
  567. <varlistentry id="timedatectl">
  568. <term><command>timedatectl</command></term>
  569. <listitem>
  570. <para>Used to query and change the system clock and its settings
  571. </para>
  572. <indexterm zone="ch-system-systemd timedatectl">
  573. <primary sortas="b-timedatectl">timedatectl</primary>
  574. </indexterm>
  575. </listitem>
  576. </varlistentry>
  577. <varlistentry id="udevadm">
  578. <term><command>udevadm</command></term>
  579. <listitem>
  580. <para>Generic Udev administration tool: controls the udevd daemon,
  581. provides info from the Udev database, monitors uevents, waits for
  582. uevents to finish, tests Udev configuration, and triggers uevents
  583. for a given device</para>
  584. <indexterm zone="ch-system-systemd udevadm">
  585. <primary sortas="b-udevadm">udevadm</primary>
  586. </indexterm>
  587. </listitem>
  588. </varlistentry>
  589. <varlistentry id="libsystemd">
  590. <term><filename class="libraryfile">libsystemd</filename></term>
  591. <listitem>
  592. <para>systemd utility library</para>
  593. <indexterm zone="ch-system-systemd libsystemd">
  594. <primary sortas="c-libsystemd">libsystemd</primary>
  595. </indexterm>
  596. </listitem>
  597. </varlistentry>
  598. <varlistentry id="libudev">
  599. <term><filename class="libraryfile">libudev</filename></term>
  600. <listitem>
  601. <para>A library to access Udev device information</para>
  602. <indexterm zone="ch-system-systemd libudev">
  603. <primary sortas="c-libudev">libudev</primary>
  604. </indexterm>
  605. </listitem>
  606. </varlistentry>
  607. </variablelist>
  608. </sect2>
  609. </sect1>