systemd.xml 27 KB

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