• R/O
  • SSH
  • HTTPS

lfsbookja: コミット


コミットメタ情報

リビジョン1074 (tree)
日時2016-08-12 17:27:49
作者matsuand

ログメッセージ

[LFS-SVN] SVN-20160811, Changeset 11106 対応。

変更サマリ

差分

--- trunk/lfsbook/configure (revision 1073)
+++ trunk/lfsbook/configure (revision 1074)
@@ -4033,7 +4033,7 @@
40334033
40344034
40354035
4036-TARGETVER=svn-20160807
4036+TARGETVER=svn-20160811
40374037
40384038 SVNVER=`grep 'ENTITY version ' ${bookdir}/general.ent | sed -e 's/^<!ENTITY version \"//' -e 's/\">$//' | tr 'A-Z' 'a-z'`
40394039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the original XML version" >&5
--- trunk/lfsbook/src/chapter01/changelog.ch (revision 1073)
+++ trunk/lfsbook/src/chapter01/changelog.ch (revision 1074)
@@ -54,6 +54,41 @@
5454 @z
5555
5656 @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
5792 <para>2016-08-06</para>
5893 <itemizedlist>
5994 <listitem>
@@ -439,7 +474,7 @@
439474 <itemizedlist>
440475 <listitem>
441476 <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
443478 for
444479 additional configurations.</para>
445480 </listitem>
--- trunk/lfsbook/src/chapter01/jchangelog.ch (revision 1073)
+++ trunk/lfsbook/src/chapter01/jchangelog.ch (revision 1074)
@@ -58,6 +58,21 @@
5858 -->
5959
6060 <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>
6176 <para>2016-08-07</para>
6277 <itemizedlist>
6378 <listitem>
--- trunk/lfsbook/src/chapter02/creatingpartition.ch (revision 1073)
+++ trunk/lfsbook/src/chapter02/creatingpartition.ch (revision 1074)
@@ -226,7 +226,7 @@
226226 <para>If the <emphasis>boot disk</emphasis> has been partitioned with a
227227 GUID Partition Table (GPT), then a small, typically 1 MB, partition must be
228228 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
230230 loader. This partition will normally be labeled 'BIOS Boot' if using
231231 <command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if
232232 using <command>gdisk</command>.</para>
--- trunk/lfsbook/src/chapter06/gettext.ch (revision 1073)
+++ trunk/lfsbook/src/chapter06/gettext.ch (revision 1074)
@@ -221,7 +221,7 @@
221221 @z
222222
223223 @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
225225 <filename class="extension">.po</filename> files</para>
226226 @y
227227 <para>
--- trunk/lfsbook/src/chapter06/sysklogd.ch (revision 1073)
+++ trunk/lfsbook/src/chapter06/sysklogd.ch (revision 1074)
@@ -119,7 +119,7 @@
119119 <para>Logs the messages that system programs offer for logging [Every
120120 logged message contains at least a date stamp and a hostname, and
121121 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>
123123 @y
124124 <para>
125125 システムプログラムが出力するログ情報を出力します。
--- trunk/lfsbook/src/chapter06/systemd.ch (revision 1073)
+++ trunk/lfsbook/src/chapter06/systemd.ch (revision 1074)
@@ -208,7 +208,7 @@
208208 @z
209209
210210 @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>
212212 @y
213213 <para>
214214 NSS ライブラリを <filename class="directory">/lib</filename> へ移動します。
@@ -251,6 +251,14 @@
251251 @z
252252
253253 @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
254262 <para>Since the testsuite largely depends on the host system kernel
255263 configuration, some tests may fail. It also needs a modification in
256264 order not to look for a program that will be installed by Util-Linux
@@ -290,7 +298,8 @@
290298 systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
291299 telinit, timedatectl, and udevadm</seg>
292300 <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>
294303 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
295304 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
296305 /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
@@ -309,7 +318,8 @@
309318 systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
310319 telinit, timedatectl, udevadm</seg>
311320 <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>
313323 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
314324 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
315325 /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
--- trunk/lfsbook/src/chapter07/networkd.ch (revision 1073)
+++ trunk/lfsbook/src/chapter07/networkd.ch (revision 1074)
@@ -50,7 +50,7 @@
5050 basic network configuration. Additionally, since version 213, DNS name
5151 resolution can be handled by <command>systemd-resolved</command> in place
5252 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>
5454 @y
5555 <para>
5656 systemd はバージョン 209 から、ネットワーク設定を行うデーモン <command>systemd-networkd</command> を提供するようになりました。
@@ -129,11 +129,11 @@
129129 @x
130130 <para>Multiple DNS entries can be added if you have more than one DNS
131131 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>
133133 @y
134134 <para>
135135 複数のDNSサーバーを有している場合は、DNS設定行を複数指定することができます。
136- 固定的に <filename>/etc/reslov.conf</filename> ファイルを利用する場合は DNS および Domains の設定行は記載しません。
136+ 固定的に <filename>/etc/resolv.conf</filename> ファイルを利用する場合は DNS および Domains の設定行は記載しません。
137137 </para>
138138 @z
139139
@@ -392,7 +392,7 @@
392392 @z
393393
394394 @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>
396396 file by running this command instead:</para>
397397 @y
398398 <para>
--- trunk/lfsbook/src/chapter07/systemd-custom.ch (revision 1073)
+++ trunk/lfsbook/src/chapter07/systemd-custom.ch (revision 1074)
@@ -299,4 +299,85 @@
299299 <para><command>journalctl -f</command>:
300300 tail -f と同様の機能を提供します。
301301 </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 がセッション終了時にユーザープロセスを終了させてしまう機能を完全に無効化することができます。
302383 @z
\ No newline at end of file
--- trunk/lfsbook/src/chapter09/theend.ch (revision 1073)
+++ trunk/lfsbook/src/chapter09/theend.ch (revision 1074)
@@ -55,6 +55,22 @@
5555 @z
5656
5757 @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
5874 <para>It is also a good idea to create a file to show the status of your
5975 new system with respect to the Linux Standards Base (LSB). To create
6076 this file, run:</para>
--- trunk/lfsbook/src/general.ch (revision 1073)
+++ trunk/lfsbook/src/general.ch (revision 1074)
@@ -8,24 +8,24 @@
88 % $Date:: $
99 %
1010 @x
11-<!ENTITY version "SVN-20160805">
11+<!ENTITY version "SVN-20160811">
1212 @y
1313 <?xml version="1.0" encoding="UTF-8"?>
14-<!ENTITY version "SVN-20160805">
14+<!ENTITY version "SVN-20160811">
1515 @z
1616
1717 @x
18-<!ENTITY versiond "20160806-systemd">
18+<!ENTITY versiond "20160811-systemd">
1919 @y
20-<!ENTITY versiond "20160806-systemd">
20+<!ENTITY versiond "20160811-systemd">
2121 @z
2222
2323 @x
24-<!ENTITY releasedate "August 6, 2016">
24+<!ENTITY releasedate "August 9, 2016">
2525 @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">
2929 @z
3030
3131 @x
--- trunk/lfsbook/version.ac (revision 1073)
+++ trunk/lfsbook/version.ac (revision 1074)
@@ -7,4 +7,5 @@
77 dnl
88 dnl
99 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])
旧リポジトリブラウザで表示