OSDN Git Service

[lfsja-git] r10.1-71 対応。
authormatsuand <30614168+matsuand@users.noreply.github.com>
Sat, 15 May 2021 23:02:18 +0000 (08:02 +0900)
committermatsuand <30614168+matsuand@users.noreply.github.com>
Sat, 15 May 2021 23:02:18 +0000 (08:02 +0900)
configure
src/chapter01/jchangelog.ch
src/chapter05/glibc.ch
src/chapter08/glibc.ch
src/chapter08/openssl.ch
src/chapter08/pkgmgt.ch
src/general.ch
version.ac

index 74a8d65..46a4c94 100755 (executable)
--- a/configure
+++ b/configure
@@ -4720,7 +4720,7 @@ fi
 
 
 
-TARGETVER=r10.1-69
+TARGETVER=r10.1-71
 
 (cd ${bookdir} && sh git-version.sh)
 if test -f ${bookdir}/version.ent; then
index db75129..37e634b 100644 (file)
 -->
 
    <listitem>
+      <para>2021-05-16</para>
+      <itemizedlist>
+        <listitem>
+          <para>[matsuand] -
+          r10.1-71 (<ulink url="&lfs-changeset;59fef4c47">59fef4c47</ulink>) までの対応。
+          </para>
+        </listitem>
+      </itemizedlist>
+   </listitem>
+
+   <listitem>
       <para>2021-05-15</para>
       <itemizedlist>
         <listitem>
index 0b7c5d0..3333a43 100644 (file)
           </para>
 @z
 
-@x libc_cv_rtlddir=/usr/lib
-          <para>Fix hardcoded path to the executable loader in the
-            <command>ldd</command> script.</para>
-@y
-          <para><command>ldd</command> スクリプト内にある実行ローダーへのパスがハードコーディングされているので、これを修正します。</para>
-@z
-
 @x libc_cv_include_x86_isa_level=no
           <para>This disables <quote>x86 ISA needed</quote> property in
           Glibc libraries.  Use it <emphasis role="bold">if</emphasis>
index 710a998..d76e1cd 100644 (file)
           </para>
 @z
 
-@x libc_cv_rtlddir=/usr/lib
-          <para>Fix hardcoded path to the executable loader in the
-            <command>ldd</command> script.</para>
-@y
-          <para><command>ldd</command> スクリプト内にある実行ローダーへのパスがハードコーディングされているので、これを修正します。</para>
-@z
-
 @x libc_cv_include_x86_isa_level=no
           <para>This disables <quote>x86 ISA needed</quote> property in
           Glibc libraries.  Use it <emphasis role="bold">if</emphasis>
index 1fc1e8b..f8fdaba 100644 (file)
         ぜい弱性への対処を行った新バージョンが公開されたら、OpenSSL をアップデートすることになります。
         リリースは公開される順に従って、初期リリースバージョンに英字 1 文字をつけて公開されます(たとえば 1.1.1、1.1.1a、1.1.1b、1.1.1c といった具合です)。
         本パッケージは <filename class="libraryfile">libcrypto.so</filename> または
-        <filename class="libraryfile">libssl.so</filename> へのリンクを行っていますが、LFS では共有ライブラリをインストールだけなので、<emphasis role="bold">同一シリーズ内でのアップグレードである限り</emphasis> は、パッケージを再コンパイルする必要はありません。
+        <filename class="libraryfile">libssl.so</filename> ã\81¸ã\81®ã\83ªã\83³ã\82¯ã\82\92è¡\8cã\81£ã\81¦ã\81\84ã\81¾ã\81\99ã\81\8cã\80\81LFS ã\81§ã\81¯å\85±æ\9c\89ã\83©ã\82¤ã\83\96ã\83©ã\83ªã\82\92ã\82¤ã\83³ã\82¹ã\83\88ã\83¼ã\83«ã\81\99ã\82\8bã\81 ã\81\91ã\81ªã\81®ã\81§ã\80\81<emphasis role="bold">å\90\8cä¸\80ã\82·ã\83ªã\83¼ã\82ºå\86\85ã\81§ã\81®ã\82¢ã\83\83ã\83\97ã\82°ã\83¬ã\83¼ã\83\89ã\81§ã\81\82ã\82\8bé\99\90ã\82\8a</emphasis> ã\81¯ã\80\81ã\83\91ã\83\83ã\82±ã\83¼ã\82¸ã\82\92å\86\8dã\82³ã\83³ã\83\91ã\82¤ã\83«ã\81\99ã\82\8bå¿\85è¦\81ã\81¯ã\81\82ã\82\8aã\81¾ã\81\9bã\82\93ã\80\82
 @z
 
 @x
         However, any running programs linked to those libraries need to be stopped
-        and restarted. The following command, run as
-        <systemitem class="username">root</systemitem> after udating, will list what is
-        using the old versions of those libraries:
+        and restarted. Read the related entries in
+        <xref linkend='pkgmgmt-upgrade-issues'/> for details.
 @y
         そうであっても、それらのライブラリにリンクしているプログラムが稼働中であるなら、一度停止してから再起動することが必要です。
-        アップデートを行った後は、以下のコマンドを <systemitem
-        class="username">root</systemitem> ユーザーで実行すれば、どれが古いバージョンのライブラリを利用しているのかが一覧表示されます。
-@z
-
-@x
-        If you used <application>OpenSSH</application> to login to the system, you
-        need to logout, login again, and rerun that command to confirm nothing is
-        still using the deleted libraries.
-@y
-        <application>OpenSSH</application> を利用してシステムにログインしている場合は、ログアウトが必要です。
-        そして上のコマンドを実行すれば、削除されたライブラリがないかどうかを確認することができます。
+        詳しくは関連する話が <xref linkend='pkgmgmt-upgrade-issues'/> にあるので参照してください。
 @z
 
 @x
index f450a20..0addff3 100644 (file)
@@ -3,10 +3,6 @@
 %
 % This is a CTIE change file for the original XML source of the LFSbook.
 %
-% $Author$
-% $Rev$
-% $Date::                           $
-%
 @x
 <?xml version="1.0" encoding="ISO-8859-1"?>
 @y
       against <filename class='libraryfile'>libfoo.so.2</filename> in order to
       use the new library version. You should not remove the previous
       libraries unless all the dependent packages are recompiled.</para>
+      </listitem>
 @y
       <listitem> <para>
-      共有ライブラリを提供しているパッケージをアップデートする場合で、ライブラリの名前が変更になった場合は、そのライブラリを動的にリンクしているすべてのパッケージは、新しいライブラリにリンクされるように再コンパイルを行う必要があります。
-      (パッケージのバージョンとライブラリ名との間に相関関係はありません。)
-      例えば foo-1.2.3 というパッケージが共有ライブラリ <filename
-      class='libraryfile'>libfoo.so.1</filename> をインストールするものであるとします。
-      そして今、新しいバージョン foo-1.2.4 にアップグレードし、共有ライブラリ <filename
-      class='libraryfile'>libfoo.so.2</filename> をインストールするとします。
-      この例では <filename class='libraryfile'>libfoo.so.1</filename> を動的にリンクいるパッケージがあったとすると、それらはすべて <filename
-      class='libraryfile'>libfoo.so.2</filename> に対してリンクするよう再コンパイルしなければなりません。
-      古いライブラリに依存しているパッケージすべてを再コンパイルするまでは、そのライブラリを削除するべきではありません。
-      </para>
+      共有ライブラリを提供しているパッケージをアップデートする場合で、そのライブラリ名が変更になったとします。
+      この場合は、このライブラリに動的リンクを行っていたパッケージは、新たなライブラリに向けてのリンクとなるように再コンパイルすることが必要になります。
+      (なおパッケージバージョンとライブラリ名には関連性はありません。)
+      たとえば foo-1.2.3 というパッケージがあって、これが共有ライブラリ <filename
+      class='libraryfile'>libfoo.so.1</filename> をインストールしているとします。
+      そして新バージョン foo-1.2.4 が共有ライブラリ <filename
+      class='libraryfile'>libfoo.so.2</filename> を持っていて、これにアップグレードするものとします。
+      この場合 <filename
+      class='libraryfile'>libfoo.so.1</filename> に動的リンクを行っていたパッケージは、すべて新ライブラリバージョン <filename
+      class='libraryfile'>libfoo.so.2</filename> へのリンクを行うように再コンパイルしなければなりません。
+      そのように依存していたパッケージをすべて再コンパイルしてからでないと、古いバージョンのライブラリは削除するべきではありません。
+      </para> </listitem>
+@z
+
+@x
+      <listitem> <para>If a package containing a shared library is updated,
+      and the name of library doesn't change, but the version number of the
+      library <emphasis role="bold">file</emphasis> decreases (for example,
+      the name of the library is kept named
+      <filename class='libraryfile'>libfoo.so.1</filename>,
+      but the name of library file is changed from
+      <filename class='libraryfile'>libfoo.so.1.25</filename> to
+      <filename class='libraryfile'>libfoo.so.1.24</filename>),
+      you should remove the library file from the previously installed version
+      (<filename class='libraryfile'>libfoo.so.1.25</filename> in the case).
+      Or, a <command>ldconfig</command> run (by yourself using a command
+      line, or by the installation of some package) will reset the symlink
+      <filename class='libraryfile'>libfoo.so.1</filename> to point to
+      the old library file because it seems having a <quote>newer</quote>
+      version, as its version number is larger.  This situation may happen if
+      you have to downgrade a package, or the package changes the versioning
+      scheme of library files suddenly.</para> </listitem>
+@y
+      <listitem> <para>
+      共有ライブラリを提供しているパッケージをアップデートする場合で、そのライブラリ名には変更がなかったとします。
+      ただしライブラリ名の変更はなくても、ライブラリ<emphasis role="bold">ファイル</emphasis>のバージョン番号が減らされたとします。
+      (たとえばライブラリ名 <filename
+      class='libraryfile'>libfoo.so.1</filename> はそのまま不変であったとして、ライブラリファイル名が <filename
+      class='libraryfile'>libfoo.so.1.25</filename> から <filename
+      class='libraryfile'>libfoo.so.1.24</filename> に変更となった場合です。)
+      この場合、それまでインストールされていたバージョン(例では <filename
+      class='libraryfile'>libfoo.so.1.25</filename>)のライブラリファイルは削除すべきです。
+      そうしておかないと、<command>ldconfig</command> を実行したときに(自分でコマンドライン実行したり、別のパッケージをインストールする際に実施されたりしたときに)、シンボリックリンク <filename
+      class='libraryfile'>libfoo.so.1</filename> がリセットされますが、それが指し示す先が古いライブラリファイルとなってしまいます。
+      なぜならバージョン番号がより大きい方なので、そのバージョンの方が<quote>より新しい</quote>と解釈されるためです。
+      こういった状況は、パッケージをダウングレードした場合や、パッケージにおけるバージョン番号づけの取り決めが突然変わってしまった場合に起こり得るものです。
+      </para> </listitem>
+@z
+
+@x
+      <listitem> <para>If a package containing a shared library is updated,
+      and the name of library doesn't change, but a severe issue
+      (especially, a security vulnerability) is fixed, all running programs
+      linked to the shared library should be restarted.  The following
+      command, run as <systemitem class="username">root</systemitem> after
+      updating, will list what is using the old versions of those libraries
+      (replace <replaceable>libfoo</replaceable> with the name of the
+      library):</para>
+@y
+      <listitem> <para>
+      共有ライブラリを提供しているパッケージをアップデートする場合で、そのライブラリ名に変更はなかったとします。
+      ただしそこでは重大な問題(特にセキュリティぜい弱性)が解消されているような場合は、この共有ライブラリにリンクしている実行中プログラムは、すべて再起動してください。
+      アップグレードした後に、以下のコマンドを <systemitem
+      class="username">root</systemitem> で実行すると、どういったプログラムが古いバージョンのライブラリを利用しているかの一覧が表示されます。
+      (<replaceable>libfoo</replaceable> の部分は、目的のライブラリ名に置き換えてください。)
+       </para>
+@z
+
+@x
+        If <application>OpenSSH</application> is being used for accessing
+        the system and it is linked to the updated library, you need to
+        restart <command>sshd</command> service, then logout, login again,
+        and rerun that command to confirm nothing is still using the
+        deleted libraries.
+@y
+        <application>OpenSSH</application> を利用してシステムにアクセスしている場合であって、これがリンクするライブラリがアップデートされたとします。
+        その場合は <command>sshd</command> サービスの再起動が必要です。
+        またシステムからはいったんログアウトしてログインし直し、その後に上のコマンドをもう一度実行して、削除されたライブラリを利用していないかどうかの確認を行ってください。
 @z
 
 @x
index 2616780..d69049e 100644 (file)
@@ -24,9 +24,9 @@
 <!ENTITY releasedate     "August 26th, 2021">
 <!ENTITY copyrightdate   "1999-2021">
 -->
-<!ENTITY jversion        "20210515">
-<!ENTITY jversiond       "20210515">
-<!ENTITY jcorrespondSHA  "6df63e484"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
+<!ENTITY jversion        "20210516">
+<!ENTITY jversiond       "20210516">
+<!ENTITY jcorrespondSHA  "59fef4c47"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
 <!ENTITY dir-jversion    "git-ja">
 <!ENTITY dir-jversiond   "git-sysdja">
 @z
index 3cfbc7b..2a92300 100644 (file)
@@ -2,5 +2,5 @@ dnl
 dnl  This is part of LFSbookja package.
 dnl 
 dnl m4-include this file to define the current LFS version
-m4_define([lfs_version], [r10.1-69])
-m4_define([lfsd_version], [r10.1-69-systemd])
+m4_define([lfs_version], [r10.1-71])
+m4_define([lfsd_version], [r10.1-71-systemd])