systemd.xml 27 KB

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