2 % This is part of LFSbookja package.
4 % This is a CTIE change file for the original XML source of the LFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <para>The systemd package contains programs for controlling the startup,
14 running, and shutdown of the system.</para>
17 systemd パッケージは、システムの起動、稼動、終了の制御を行うプログラムを提供します。
22 <title>Installation of systemd</title>
24 <title>&InstallationOf1;systemd&InstallationOf2;</title>
28 <para>First, apply a patch to fix a security vulnerability and regressions
29 with hostnames and idle units:</para>
32 セキュリティぜい弱性、およびホスト名、アイドルユニットに関する問題を修正するパッチを適用します。
37 <para>Now, apply a patch to fix a problem with the linux kernel's headers in
38 version 5.17 and later:</para>
41 また linux カーネルヘッダー、バージョン 5.17 以降に対する問題の修正のため、以下のパッチを適用します。
42 version 5.17 and later:</para>
46 <para>Remove two unneeded groups,
47 <systemitem class="groupname">render</systemitem> and
48 <systemitem class="groupname">sgx</systemitem>, from the default udev
52 デフォルトの udev ルールから、不要な 2 つのグループ
53 <systemitem class="groupname">render</systemitem> と <systemitem
54 class="groupname">sgx</systemitem> を削除します。
59 <para>Prepare systemd for compilation:</para>
61 <para>&PreparePackage1;systemd&PreparePackage2;</para>
65 <title>The meaning of the meson options:</title>
67 <title>&MeaningOfOption1;meson&MeaningOfOption2;</title>
70 @x --buildtype=release
71 <para>This switch overrides the default buildtype
72 (<quote>debug</quote>), which would produce unoptimized
76 本スイッチは、デフォルトのビルドタイプ (<quote>debug</quote>) をオーバーライドします。
77 そのままにしておくと、最適化されていない実行モジュールが生成されるためです。
81 @x -Ddefault-dnssec=no
82 <para>This switch turns off the experimental DNSSEC support.</para>
85 本スイッチは、実験的な DNSSEC サポートを無効にします。
90 <para>This switch prevents installation of systemd
91 services responsible for setting up the system for
92 the first time. They are not useful for LFS because
93 everything is done manually.</para>
96 本スイッチは、systemd サービスを、システムの初回構築用としてインストールしないようにします。
97 LFS ではすべて手作業で行うため、この機能が必要ないからです。
101 @x -Dinstall-tests=false
102 <para>This switch prevents installation of the compiled tests.</para>
105 本スイッチはコンパイルされたテストをインストールしないようにします。
110 <para>This switch prevents installation of a systemd unit that runs
111 <command>ldconfig</command> at boot, which is not useful for source
112 distributions such as LFS and makes the boot time longer. Remove it
113 if the described feature is desired.</para>
116 本スイッチは、システム起動時に <command>ldconfig</command> を実行するような systemd ユニットはインストールしないようにします。
117 LFS のようにソースから作り出すディストリビューションにとっては無用なものであり、起動時間も長くなります。
118 もし必要であれば本スイッチを除いてください。
123 <para>This switch prevents installation of systemd
124 services responsible for setting up the
125 <filename>/etc/group</filename> and
126 <filename>/etc/passwd</filename> files. Both files
127 were created in the previous chapter. This daemon is not useful
128 on an LFS system since user accounts are manually created.</para>
131 本スイッチは、システム起動初期に <filename>/etc/group</filename> ファイルと
132 <filename>/etc/passwd</filename> ファイルを設定する systemd サービスをインストールしないようにします。
134 LFS システム上におけるこのデーモンは、ユーザーアカウントを手動で生成するまでは、利用することはできません。
139 <para>This switch disables installation of RPM Macros
140 for use with systemd because LFS does not support RPM.</para>
143 本スイッチは systemd において利用される RPM マクロをインストールしないようにします。
144 LFS では RPM をサポートしていないためです。
148 @x -D{userdb,homed}=false
149 <para>Remove two daemons that have dependencies that do not fit
150 the scope of LFS.</para>
153 LFS が取り扱う範囲にそぐわない依存関係を持ったデーモンを削除します。
158 <para>Prevent the generation of man pages to avoid extra
159 dependencies. We will install pre-generated man pages for systemd
160 from a tarball later.</para>
163 man ページを生成することで発生する追加パッケージの導入を行わないようにします。
164 systemd の man ページは、後ほど生成済みの tarball を使ってインストールすることにします。
169 <para>Disable some features considered experimental by upstream.
172 アップストリームにおいて試験的機能とみなされている機能を無効にします。
176 <para>Compile the package:</para>
178 <para>&CompileThePackage;</para>
182 <para>Install the package:</para>
184 <para>&InstallThePackage;</para>
188 <para>Install the man pages:</para>
196 <para>Remove a useless directory:</para>
204 <para>Create the <filename>/etc/machine-id</filename> file needed by
205 <command>systemd-journald</command>:</para>
208 <command>systemd-journald</command> に対して必要となる <filename>/etc/machine-id</filename> ファイルを生成します。
213 <para>Setup the basic target structure:</para>
221 <para>Prevent systemd from resetting the maximum PID value which causes
222 some problems with packages and units in BLFS:</para>
225 systemd が PID 最大値をリセットしないようにします。
226 BLFS におけるパッケージやユニットにおいて、問題となるものがあるためです。
231 <title>Contents of systemd</title>
233 <title>&ContentsOf1;systemd&ContentsOf2;</title>
237 <segtitle>Installed programs</segtitle>
238 <segtitle>Installed libraries</segtitle>
239 <segtitle>Installed directories</segtitle>
241 <segtitle>&InstalledProgram;</segtitle>
242 <segtitle>&InstalledLibrary;</segtitle>
243 <segtitle>&InstalledDirectory;</segtitle>
247 <seg>busctl, coredumpctl, halt (symlink to systemctl),
248 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
249 machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
250 systemctl), reboot (symlink to systemctl), resolvconf (symlink to
251 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
252 (symlink to systemctl), systemctl, systemd-analyze,
253 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
254 systemd-creds, systemd-delta, systemd-detect-virt,
255 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
256 systemd-inhibit, systemd-machine-id-setup,
257 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
258 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
259 systemd-socket-activate, systemd-stdio-bridge, systemd-sysext,
260 systemd-tmpfiles, systemd-tty-ask-password-agent,
261 systemd-umount (symlink to systemd-mount),
262 telinit (symlink to systemctl), timedatectl, and udevadm</seg>
263 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
264 libnss_resolve.so.2, libnss_systemd.so.2,
265 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
267 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
268 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
269 /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
270 /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
271 /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
273 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
274 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
276 <seg>busctl, coredumpctl, halt (systemctl へのシンボリックリンク),
277 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
278 machinectl, networkctl, oomctl, portablectl, poweroff (systemctl へのシンボリックリンク),
279 reboot (systemctl へのシンボリックリンク), resolvconf (resolvectl へのシンボリックリンク),
280 resolvectl, runlevel (systemctl へのシンボリックリンク), shutdown
281 (systemctl へのシンボリックリンク), systemctl, systemd-analyze,
282 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
283 systemd-creds, systemd-delta, systemd-detect-virt,
284 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
285 systemd-inhibit, systemd-machine-id-setup,
286 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
287 systemd-repart, systemd-resolve (resolvectl へのシンボリックリンク), systemd-run,
288 systemd-socket-activate, systemd-stdio-bridge, systemd-sysext,
289 systemd-tmpfiles, systemd-tty-ask-password-agent,
290 systemd-umount (systemd-mount へのシンボリックリンク),
291 telinit (systemctl へのシンボリックリンク), timedatectl, udevadm</seg>
292 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
293 libnss_resolve.so.2, libnss_systemd.so.2,
294 libsystemd.so, libsystemd-shared-&systemd-version;.so (/usr/lib/systemd ディレクトリ内),
296 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
297 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
298 /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
299 /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
300 /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
302 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
303 /usr/share/systemd, /var/lib/systemd, /var/log/journal</seg>
307 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
309 <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
313 <para>Is used to introspect and monitor the D-Bus bus</para>
316 D-Bus のバスを監視するために用います。
321 <para>Is used to retrieve coredumps from the systemd journal</para>
324 systemd journal よりコアダンプを抽出します。
329 <para>Normally invokes <command>shutdown</command> with the
330 <parameter>-h</parameter> option, except when already in run-level 0,
331 then it tells the kernel to halt the system; it notes in the
332 file <filename>/var/log/wtmp</filename> that the system is being
336 普通は <command>shutdown</command> にオプション <parameter>-h</parameter> をつけて実行します。
337 ただし既にランレベルが 0 である場合を除きます。
338 カーネルに対してシステムの停止を指示します。
339 システムが停止したことは <filename>/var/log/wtmp</filename> ファイルに記録されます。
344 <para>Is used to query and change the system hostname and related
348 システムのホスト名および関連設定を確認し変更します。
353 <para>Is the first process to be started when the kernel has initialized
354 the hardware which takes over the boot process and starts all
355 processes according to its configuration files. In this case, it starts
359 カーネルがハードウェアを初期化する際に起動される最初のプロセスであり、この後の起動処理を担い、設定ファイルに応じたブートプロセスと他の全てのプロセスを起動します。つまり systemd を起動するということです。
364 <para>Is used to query the contents of the systemd journal</para>
367 Systemd のジャーナルの内容を確認します。
372 <para>Is used to add and remove kernel and initramfs images to and
373 from /boot. In LFS, this is done manually</para>
376 カーネルや initramfs イメージを /boot ディレクトリに対して追加、削除します。
381 <para>Is used to query and change the system locale and keyboard layout
385 システムロケールやキーボードレイアウト設定を確認し変更します。
390 <para>Is used to introspect and control the state of the systemd Login
394 Systemd のログインマネージャーの状態を確認し制御します。
399 <para>Is used to introspect and control the state of the systemd Virtual
400 Machine and Container Registration Manager</para>
403 Systemd の仮想マシンとコンテナー登録マネージャー (Container Registration Manager) の状態を確認し制御します。
408 <para>Is used to introspect and configure the state of the network
409 links configured by systemd-networkd</para>
412 systemd-netword から見えるネットワークリンクの状態を確認 (introspect) し設定します。
417 <para>Controls the systemd Out Of Memory daemon</para>
420 systemd の Out Of Memory デーモンを制御します。
425 <para>Is used to attach or detach portable services from the local
429 ローカルシステムにおいてポータブルサービスのアタッチ、デタッチを行います。
434 <para>Instructs the kernel to halt the system and switch off the computer
435 (see <command>halt</command>)</para>
438 カーネルに対してシステム停止を指示し、コンピューターの電源を落とします。(<command>halt</command>参照)
443 <para>Instructs the kernel to reboot the system (see
444 <command>halt</command>)</para>
447 カーネルに対してシステム再起動を指示します。(<command>halt</command>参照)
452 <para>Registers DNS server and domain configuration with
453 <command>systemd-resolved</command></para>
456 <command>systemd-resolved</command> に対する DNS サーバーやドメイン設定を登録します。
461 <para>Sends control commands to the network name resolution
462 manager, or resolves domain names, IPv4 and IPv6 addresses,
463 DNS records, and services</para>
466 ネットワーク名前解決マネージャーに対して制御コマンドを送信します。
467 あるいはドメイン名、IPv4、IPv6 アドレス、DNS レコードやサービスなどを解決します。
472 <para>Outputs the previous and the current run-level, as noted in the
473 last run-level record in <filename>/run/utmp</filename></para>
476 現時点とその直前のランレベルを表示します。
477 最新のランレベルは <filename>/run/utmp</filename> ファイルに記録されます。
482 <para>Brings the system down in a safe and secure manner, signaling
483 all processes and notifying all logged-in users</para>
486 すべてのプロセスとすべてのログインユーザーへの通知を行なった上で、システムを安全に停止します。
491 <para>Is used to introspect and control the state of the systemd system
492 and service manager</para>
495 Systemd システムとサービスマネージャーの状態について確認し制御します。
500 <para>Is used to determine system startup performance of the current
501 boot, as well as identify troublesome systemd units</para>
504 現在のシステム起動において、起動処理パフォーマンスを決定します。
505 また問題のある systemd ユニットを特定します。
509 @x systemd-ask-password
510 <para>Is used to query a system password or passphrase from the user,
511 using a question message specified on the command line</para>
514 コマンドラインから指定された質問文を用いて、システムパスワードやユーザーのパスフレーズを確認します。
519 <para>Is used to connect the STDOUT and STDERR outputs of a process
520 with the systemd journal
524 systemd journal に対してプロセスの STDOUT と STDERR に接続します。
529 <para>Recursively shows the contents of the selected Linux control
530 group hierarchy in a tree</para>
533 指定された Linux コントロールグループ (control group) の階層を再帰的に表示します。
538 <para>Shows the top control groups of the local Linux control group
539 hierarchy, ordered by their CPU, memory and disk I/O load</para>
542 最上位のローカル Linux コントロールグループ (control group) を表示し、CPU、メモリ、ディスクI/Oロードの並びにより示します。
547 <para>Displays and processes credentials</para>
555 <para>Is used to identify and compare configuration files in
556 <filename class="directory">/etc</filename> that override default
557 counterparts in <filename class="directory">/usr</filename></para>
560 <filename class="directory">/etc</filename> ディレクトリにある設定ファイルを同定したり比較したりします。
561 この設定ファイルは <filename class="directory">/usr</filename> ディレクトリにあるデフォルト設定をオーバーライドします。
565 @x systemd-detect-virt
566 <para>Detects whether the system is being run in a virtual
567 environment, and adjusts udev accordingly</para>
570 システムが仮想化環境で動作しているかどうかを検出し、それに応じて udev を調整します。
575 <para>Is used to inspect OS disk images</para>
578 OS ディスクイメージの調査に用いられます。
583 <para>Is used to escape strings for inclusion in systemd unit
587 systemd ユニット名での文字エスケープを行います。
592 <para>Is used to manage the hardware database (hwdb)</para>
595 ハードウェアデータベース (hwdb) を管理します。
600 <para>Generates and prints id128 strings</para>
608 <para>Is used to execute a program with a shutdown, sleep or idle
609 inhibitor lock taken, preventing an action such as a system shutdown
610 until the process is completed</para>
613 システム停止、休止、アイドル禁止ロックを行うプログラムを実行します。
614 プロセスが正常起動するまでは、システムシャットダウンのような処理は行いません。
618 @x systemd-machine-id-setup
619 <para>Is used by system installer tools to initialize the machine ID
620 stored in <filename>/etc/machine-id</filename> at install time with a
621 randomly generated ID</para>
624 システムインストールツールがマシンIDを初期化するために利用します。
625 このマシンIDは <filename>/etc/machine-id</filename> ファイル内にあるものから、インストール時にランダムに生成されます。
630 <para>Is used to temporarily mount or automount disks</para>
633 ディスクの一時的あるいは自動マウントを行ないます。
638 <para>Is used by daemon scripts to notify the init system about status
642 init システムに対してステータス変更が発生したことを通知するデーモンスクリプトが利用します。
647 <para>Is used to run a command or OS in a light-weight namespace
651 軽量な名前空間コンテナー (light-weight namepspace container) においてコマンドや OS の実行に用いられます。
656 <para>Is used to query system and user paths</para>
664 <para>Is used to grow and add partitions to a partition table when
665 systemd is used in an OS image (e.g. a container)</para>
668 systemd が OS イメージ内(たとえばコンテナーなど)で用いられている場合に、パーティションテーブルに対してパーティションの拡張や追加を行うために用いられます。
673 <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
674 resource records, and services</para>
677 ドメイン名、IPV4 と IPv6 アドレス、DNSリソースレコード、サービスの名前解決を行います。
682 <para>Is used to create and start a transient .service or a .scope
683 unit and run the specified command in it. This is useful for
684 validating systemd units</para>
687 一時的な .service ユニットや .scope ユニットを生成および起動し、その指定コマンドを実行します。
688 これは systemd ユニットの検証を行うことができます。
692 @x systemd-socket-activate
693 <para>Is used to listen on socket devices and launch a process upon
694 a successful connection to the socket</para>
697 ソケットデバイスの情報を読み取って、ソケットに対するコネクション上にてプロセスを起動します。
702 <para>Activates system extension images</para>
711 <para>Creates, deletes and cleans up volatile and temporary files and
712 directories, based on the configuration file format and location
714 <filename class="directory">tmpfiles.d</filename> directories</para>
717 <filename class="directory">tmpfiles.d</filename> ディレクトリにて指定された設定ファイルの内容に基づいて、テンポラリファイルなどの生成削除等を行います。
722 <para>Unmounts mount points</para>
729 @x systemd-tty-ask-password-agent
730 <para>Is used to list and/or process pending systemd password
734 未定となっている Systemd のパスワード変更指示の一覧を表示し処理します。
739 <para>Tells <command>init</command> which run-level to change
743 <command>init</command> コマンドに対してランレベルを何にするかを指示します。
748 <para>Is used to query and change the system clock and its settings
752 システムクロックとその設定を確認し変更します。
757 <para>Is a generic udev administration tool which controls the udevd
758 daemon, provides info from the Udev hardware database, monitors
759 uevents, waits for uevents to finish, tests udev configuration, and
760 triggers uevents for a given device</para>
764 udevd デーモンの制御、Udev データベースデータの提供、uevent の監視、uevent の完了までの待機、udev 設定のテスト、指定デバイスに対する uevent の起動、といったことを行います。
769 <para>Is the main systemd utility library</para>
772 主となる systemd ユーティリティライブラリ。
777 <para>Is a library to access Udev device information</para>
780 Udev デバイス情報にアクセスするためのライブラリ。