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