[LFS-SVN] SVN-20160811, Changeset 11106 対応。
@@ -4033,7 +4033,7 @@ | ||
4033 | 4033 | |
4034 | 4034 | |
4035 | 4035 | |
4036 | -TARGETVER=svn-20160807 | |
4036 | +TARGETVER=svn-20160811 | |
4037 | 4037 | |
4038 | 4038 | SVNVER=`grep 'ENTITY version ' ${bookdir}/general.ent | sed -e 's/^<!ENTITY version \"//' -e 's/\">$//' | tr 'A-Z' 'a-z'` |
4039 | 4039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the original XML version" >&5 |
@@ -54,6 +54,41 @@ | ||
54 | 54 | @z |
55 | 55 | |
56 | 56 | @x |
57 | + <para>2016-08-11</para> | |
58 | + <itemizedlist> | |
59 | + <listitem> | |
60 | + <para>[renodr] - Update to systemd-231. Fixes | |
61 | + <ulink url="&lfs-ticket-root;3958">#3958</ulink>.</para> | |
62 | + </listitem> | |
63 | + </itemizedlist> | |
64 | +@y | |
65 | + <para>2016-08-11</para> | |
66 | + <itemizedlist> | |
67 | + <listitem> | |
68 | + <para>[renodr] - systemd-231 へのアップデート。 | |
69 | + <ulink url="&lfs-ticket-root;3958">#3958</ulink> を Fix に。</para> | |
70 | + </listitem> | |
71 | + </itemizedlist> | |
72 | +@z | |
73 | + | |
74 | +@x | |
75 | + <para>2016-08-09</para> | |
76 | + <itemizedlist> | |
77 | + <listitem> | |
78 | + <para>[dj] - Added explanatory text for systemd-230+ process | |
79 | + lingering changes.</para> | |
80 | + </listitem> | |
81 | + </itemizedlist> | |
82 | +@y | |
83 | + <para>2016-08-09</para> | |
84 | + <itemizedlist> | |
85 | + <listitem> | |
86 | + <para>[dj] - systemd-230 以降に導入されたプロセス継続方法の変更について記述追加。</para> | |
87 | + </listitem> | |
88 | + </itemizedlist> | |
89 | +@z | |
90 | + | |
91 | +@x | |
57 | 92 | <para>2016-08-06</para> |
58 | 93 | <itemizedlist> |
59 | 94 | <listitem> |
@@ -439,7 +474,7 @@ | ||
439 | 474 | <itemizedlist> |
440 | 475 | <listitem> |
441 | 476 | <para>[dj] - Adjust hosts file instructions to account for hosts |
442 | - using automatic configuration. Ajusted eplanatory text to account | |
477 | + using automatic configuration. Adjusted explanatory text to account | |
443 | 478 | for |
444 | 479 | additional configurations.</para> |
445 | 480 | </listitem> |
@@ -58,6 +58,21 @@ | ||
58 | 58 | --> |
59 | 59 | |
60 | 60 | <listitem> |
61 | + <para>2016-08-12</para> | |
62 | + <itemizedlist> | |
63 | + <listitem> | |
64 | + <para>[matsuand] - | |
65 | + SVN-20160811, | |
66 | + Changeset | |
67 | + <ulink url="&lfs-rev-root;11102">11106</ulink> ~ | |
68 | + <ulink url="&lfs-rev-root;11106">11106</ulink> | |
69 | + 対応。 | |
70 | + </para> | |
71 | + </listitem> | |
72 | + </itemizedlist> | |
73 | + </listitem> | |
74 | + | |
75 | + <listitem> | |
61 | 76 | <para>2016-08-07</para> |
62 | 77 | <itemizedlist> |
63 | 78 | <listitem> |
@@ -226,7 +226,7 @@ | ||
226 | 226 | <para>If the <emphasis>boot disk</emphasis> has been partitioned with a |
227 | 227 | GUID Partition Table (GPT), then a small, typically 1 MB, partition must be |
228 | 228 | created if it does not already exist. This partition is not formatted, but |
229 | - must be available for GRUB to to use during installation of the boot | |
229 | + must be available for GRUB to use during installation of the boot | |
230 | 230 | loader. This partition will normally be labeled 'BIOS Boot' if using |
231 | 231 | <command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if |
232 | 232 | using <command>gdisk</command>.</para> |
@@ -221,7 +221,7 @@ | ||
221 | 221 | @z |
222 | 222 | |
223 | 223 | @x msgcomm |
224 | - <para>Finds the messages that are common to to the given | |
224 | + <para>Finds the messages that are common to the given | |
225 | 225 | <filename class="extension">.po</filename> files</para> |
226 | 226 | @y |
227 | 227 | <para> |
@@ -119,7 +119,7 @@ | ||
119 | 119 | <para>Logs the messages that system programs offer for logging [Every |
120 | 120 | logged message contains at least a date stamp and a hostname, and |
121 | 121 | normally the program's name too, but that depends on how trusting the |
122 | - logging daemon is told to bei.]</para> | |
122 | + logging daemon is told to be.]</para> | |
123 | 123 | @y |
124 | 124 | <para> |
125 | 125 | システムプログラムが出力するログ情報を出力します。 |
@@ -208,7 +208,7 @@ | ||
208 | 208 | @z |
209 | 209 | |
210 | 210 | @x |
211 | - <para>Move NSS libraries to <filename class="directory">/lib</filename>:</para> | |
211 | + <para>Move the NSS libraries to <filename class="directory">/lib</filename>:</para> | |
212 | 212 | @y |
213 | 213 | <para> |
214 | 214 | NSS ライブラリを <filename class="directory">/lib</filename> へ移動します。 |
@@ -251,6 +251,14 @@ | ||
251 | 251 | @z |
252 | 252 | |
253 | 253 | @x |
254 | + <para>Fix a broken symlink created by the systemd installation process:</para> | |
255 | +@y | |
256 | + <para> | |
257 | + systemd のインストールによって生成される不適切なシンボリックリンクを再構成します。 | |
258 | + </para> | |
259 | +@z | |
260 | + | |
261 | +@x | |
254 | 262 | <para>Since the testsuite largely depends on the host system kernel |
255 | 263 | configuration, some tests may fail. It also needs a modification in |
256 | 264 | order not to look for a program that will be installed by Util-Linux |
@@ -290,7 +298,8 @@ | ||
290 | 298 | systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent, |
291 | 299 | telinit, timedatectl, and udevadm</seg> |
292 | 300 | <seg>libnss_myhostname.so.2, libnss_mymachines.so.2, |
293 | - libnss_resolve.so.2, libsystemd.so, and libudev.so</seg> | |
301 | + libnss_resolve.so.2, libsystemd.so, libsystemd-shared-231.so, | |
302 | + and libudev.so</seg> | |
294 | 303 | <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, |
295 | 304 | /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, |
296 | 305 | /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd, |
@@ -309,7 +318,8 @@ | ||
309 | 318 | systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent, |
310 | 319 | telinit, timedatectl, udevadm</seg> |
311 | 320 | <seg>libnss_myhostname.so.2, libnss_mymachines.so.2, |
312 | - libnss_resolve.so.2, libsystemd.so, libudev.so</seg> | |
321 | + libnss_resolve.so.2, libsystemd.so, libsystemd-shared-231.so, | |
322 | + libudev.so</seg> | |
313 | 323 | <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, |
314 | 324 | /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, |
315 | 325 | /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd, |
@@ -50,7 +50,7 @@ | ||
50 | 50 | basic network configuration. Additionally, since version 213, DNS name |
51 | 51 | resolution can be handled by <command>systemd-resolved</command> in place |
52 | 52 | of a static <filename>/etc/resolv.conf</filename> file. Both services are |
53 | - enabled by defualt, and absolutely should not be disabled.</para> | |
53 | + enabled by default, and absolutely should not be disabled.</para> | |
54 | 54 | @y |
55 | 55 | <para> |
56 | 56 | systemd はバージョン 209 から、ネットワーク設定を行うデーモン <command>systemd-networkd</command> を提供するようになりました。 |
@@ -129,11 +129,11 @@ | ||
129 | 129 | @x |
130 | 130 | <para>Multiple DNS entries can be added if you have more than one DNS |
131 | 131 | server. Do not include DNS or Domains entries if you intend to use a |
132 | - static <filename>/etc/reslov.conf</filename> file.</para> | |
132 | + static <filename>/etc/resolv.conf</filename> file.</para> | |
133 | 133 | @y |
134 | 134 | <para> |
135 | 135 | 複数のDNSサーバーを有している場合は、DNS設定行を複数指定することができます。 |
136 | - 固定的に <filename>/etc/reslov.conf</filename> ファイルを利用する場合は DNS および Domains の設定行は記載しません。 | |
136 | + 固定的に <filename>/etc/resolv.conf</filename> ファイルを利用する場合は DNS および Domains の設定行は記載しません。 | |
137 | 137 | </para> |
138 | 138 | @z |
139 | 139 |
@@ -392,7 +392,7 @@ | ||
392 | 392 | @z |
393 | 393 | |
394 | 394 | @x |
395 | - <para>If ussing a staic address, create the <filename>/etc/hosts</filename> | |
395 | + <para>If using a staic address, create the <filename>/etc/hosts</filename> | |
396 | 396 | file by running this command instead:</para> |
397 | 397 | @y |
398 | 398 | <para> |
@@ -299,4 +299,85 @@ | ||
299 | 299 | <para><command>journalctl -f</command>: |
300 | 300 | tail -f と同様の機能を提供します。 |
301 | 301 | </para> |
302 | +@z | |
303 | + | |
304 | +@x | |
305 | + <title>Long Running Processes</title> | |
306 | +@y | |
307 | + <title>稼動し続けるプロセス</title> | |
308 | +@z | |
309 | + | |
310 | +@x | |
311 | + <para>Beginning with systemd-230, all user processes are killed when a | |
312 | + user session is ended, even if nohup is used, or the process uses | |
313 | + <function>daemon()</function> or <function>setsid()</function>. This is a | |
314 | + deliberate change from a historically permissive environment to a more | |
315 | + restrictive one. The new behavior may cause issues if you depend on long | |
316 | + running programs (e.g., <command>screen</command> or | |
317 | + <command>tmux</command>) to remain active after ending your user | |
318 | + session. There are three ways to enable lingering processes to remain after | |
319 | + a user session is ended.</para> | |
320 | +@y | |
321 | + <para> | |
322 | + systemd-230 より取り入れられた機能として、ユーザープロセスは、たとえ nohup が用いられたり、あるいは <function>daemon()</function> や <function>setsid()</function> が利用されたプロセスであっても、ユーザーセッションが終了するとともに終了します。 | |
323 | + この機能変更は、従来からの柔軟な実装を厳格なものとする意図で行われたものです。 | |
324 | + したがって稼動し続けるプロセスが利用されていると (例えば <command>screen</command> や <command>tmux</command> など)、この機能変更が問題を引き起こすことになるかもしれません。 | |
325 | + つまりユーザーセッションが終了した後にもプロセスをアクティブにしておくことが必要になります。 | |
326 | + ユーザーセッション終了後にプロセスを継続させる方法として、以下の三つの方法があります。 | |
327 | + </para> | |
328 | +@z | |
329 | + | |
330 | +@x | |
331 | + <emphasis>Enable process lingering for only needed users</emphasis>: | |
332 | + normal users have permission to enable process lingering | |
333 | + with the command <command>loginctl enable-linger</command> for their | |
334 | + own user. System administrators can use the same command with a | |
335 | + <parameter>user</parameter> argument to enable for a user. That user | |
336 | + can then use the <command>systemd-run</command> command to start | |
337 | + long running processes. For example: <command>systemd-run --scope | |
338 | + --user /usr/bin/screen</command>. If you enable lingering for your | |
339 | + user, the user@.service will remain even after all login sessions are | |
340 | + closed, and will automatically start at system boot. This has the | |
341 | + advantage of explicitly allowing and disallowing processes to run | |
342 | + after the user session has ended, but breaks backwards compatibility | |
343 | + with tools like <command>nohup</command> and utilities that use | |
344 | + <function>deamon()</function>. | |
345 | +@y | |
346 | +<!-- | |
347 | +日本語訳:意味不明な訳出になってしまった.. 意味内容がよくわからない.. | |
348 | +--> | |
349 | + <emphasis>特定ユーザーのプロセスを継続させる方法</emphasis>: | |
350 | + 標準的なユーザーは自身のユーザー権限においてコマンド <command>loginctl enable-linger</command> を実行して、プロセスを継続させることができます。 | |
351 | + システム管理者は <parameter>user</parameter> 引数を利用して、そのユーザーに対して同一のコマンドを実行可能です。 | |
352 | + そしてそのユーザーは <command>systemd-run</command> コマンドを実行することでプロセスを継続的に稼動させます。 | |
353 | + 例えば <command>systemd-run --scope | |
354 | + --user /usr/bin/screen</command> などとします。 | |
355 | + 特定ユーザーに対してのプロセス継続を行った場合、ログインセッションがすべて終了しても user@.service が残ります。 | |
356 | + そしてこれはシステム起動時にも自動実行されます。 | |
357 | + つまりユーザーセッションが終了した後にもプロセスの有効無効の制御が明示的に行えるものであり、<command>nohup</command> や <function>deamon()</function> を利用するユーティリティーなどの下位互換性をなくすものです。 | |
358 | +@z | |
359 | + | |
360 | +@x | |
361 | + <emphasis>Enable system-wide process lingering</emphasis>: | |
362 | + you can set <parameter>KillUserProcesses=no</parameter> in | |
363 | + <filename>/etc/logind.conf</filename> to enable process lingering | |
364 | + globally for all users. This has the benefit of leaving the old | |
365 | + method available to all users at the expense of explicit control. | |
366 | +@y | |
367 | + <emphasis>システムワイドなプロセスを継続させる方法</emphasis>: | |
368 | + <filename>/etc/logind.conf</filename> ファイル内に <parameter>KillUserProcesses=no</parameter> を指定すれば、全ユーザーに対してグローバルにプロセスを継続起動させることができます。 | |
369 | + これは明示的に制御する方法を無用とし、従来どおり全ユーザーに対しての方式を残すメリットがあります。 | |
370 | +@z | |
371 | + | |
372 | +@x | |
373 | + <emphasis>Disable at build-time</emphasis>: You can enable | |
374 | + lingering by default while building systemd by adding the switch | |
375 | + <parameter>--without-kill-user-processes</parameter> to the | |
376 | + <command>configure</command> command for systemd. This completely | |
377 | + disables the ability of systemd to kill user processes at session | |
378 | + end. | |
379 | +@y | |
380 | + <emphasis>機能変更をビルド時に無効化する方法</emphasis>: | |
381 | + プロセス継続をデフォルトとするために systemd のビルド時に <command>configure</command> コマンドにおいて <parameter>--without-kill-user-processes</parameter> スイッチを指定する方法があります。 | |
382 | + この方法をとれば、systemd がセッション終了時にユーザープロセスを終了させてしまう機能を完全に無効化することができます。 | |
302 | 383 | @z |
\ No newline at end of file |
@@ -55,6 +55,22 @@ | ||
55 | 55 | @z |
56 | 56 | |
57 | 57 | @x |
58 | + <para revision="systemd">Creating the file | |
59 | + <filename>/etc/lfs-release</filename> is recommended for compatibility with | |
60 | + the non-systemd branch. By having this file, it is very easy for you (and for | |
61 | + us if you need to ask for help at some point) to find out which LFS version | |
62 | + is installed on the system. Create this file by running:</para> | |
63 | +@y | |
64 | + <para revision="systemd"> | |
65 | + <filename>/etc/lfs-release</filename> というファイルを生成することをお勧めします。 | |
66 | + これにより systemd 版ではないものとの対比ができます。 | |
67 | + またこのファイルを作っておけば、どのバージョンの LFS をインストールしたのか、すぐに判別できます。 | |
68 | + (もしあなたが質問を投げた時には、我々もすぐに判別できることになります。) | |
69 | + 以下のコマンドによりこのファイルを生成します。 | |
70 | + </para> | |
71 | +@z | |
72 | + | |
73 | +@x | |
58 | 74 | <para>It is also a good idea to create a file to show the status of your |
59 | 75 | new system with respect to the Linux Standards Base (LSB). To create |
60 | 76 | this file, run:</para> |
@@ -8,24 +8,24 @@ | ||
8 | 8 | % $Date:: $ |
9 | 9 | % |
10 | 10 | @x |
11 | -<!ENTITY version "SVN-20160805"> | |
11 | +<!ENTITY version "SVN-20160811"> | |
12 | 12 | @y |
13 | 13 | <?xml version="1.0" encoding="UTF-8"?> |
14 | -<!ENTITY version "SVN-20160805"> | |
14 | +<!ENTITY version "SVN-20160811"> | |
15 | 15 | @z |
16 | 16 | |
17 | 17 | @x |
18 | -<!ENTITY versiond "20160806-systemd"> | |
18 | +<!ENTITY versiond "20160811-systemd"> | |
19 | 19 | @y |
20 | -<!ENTITY versiond "20160806-systemd"> | |
20 | +<!ENTITY versiond "20160811-systemd"> | |
21 | 21 | @z |
22 | 22 | |
23 | 23 | @x |
24 | -<!ENTITY releasedate "August 6, 2016"> | |
24 | +<!ENTITY releasedate "August 9, 2016"> | |
25 | 25 | @y |
26 | -<!ENTITY releasedate "2016年08月06日"> | |
27 | -<!ENTITY jversion "20160807"> | |
28 | -<!ENTITY jversiond "20160807-systemd"> | |
26 | +<!ENTITY releasedate "2016年08月09日"> | |
27 | +<!ENTITY jversion "20160812"> | |
28 | +<!ENTITY jversiond "20160812"> | |
29 | 29 | @z |
30 | 30 | |
31 | 31 | @x |
@@ -7,4 +7,5 @@ | ||
7 | 7 | dnl |
8 | 8 | dnl |
9 | 9 | dnl m4-include this file to define the current LFS version |
10 | -m4_define([lfs_version], [svn-20160807]) | |
10 | +m4_define([lfs_version], [svn-20160811]) | |
11 | +m4_define([lfsd_version], [20160811-systemd]) |