Changeset 30fb4c0


Ignore:
Timestamp:
05/18/2021 06:09:10 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
76531f2
Parents:
d4b5218 (diff), 7fbfed56 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rd4b5218 r30fb4c0  
    4545    appropriate for the entry or if needed the entire day's listitem.
    4646    -->
     47    <listitem>
     48      <para>2021-05-14</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[ken] - Add a Note about upgrading in OpenSSL.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
    4755
    4856    <listitem>
  • chapter05/glibc.xml

    rd4b5218 r30fb4c0  
    134134
    135135      <varlistentry>
    136         <term><parameter>libc_cv_rtlddir=/usr/lib</parameter></term>
    137         <listitem>
    138           <para>Fix hardcoded path to the executable loader in the
    139             <command>ldd</command> script.</para>
    140         </listitem>
    141       </varlistentry>
    142 
    143       <varlistentry>
    144136        <term><option>libc_cv_include_x86_isa_level=no</option></term>
    145137        <listitem>
  • chapter08/bzip2.xml

    rd4b5218 r30fb4c0  
    9090
    9191    <para>Install the shared <command>bzip2</command> binary into the
    92     <filename class="directory">/bin</filename> directory:</para>
    93 
    94 <screen><userinput remap="install">cp -v bzip2-shared /bin/bzip2</userinput></screen>
     92    <filename class="directory">/usr/bin</filename> directory:</para>
     93
     94<screen><userinput remap="install">cp -v bzip2-shared /usr/bin/bzip2</userinput></screen>
    9595
    9696    <para>Remove an useless static library:</para>
  • chapter08/glibc.xml

    rd4b5218 r30fb4c0  
    125125          <para>This variable sets the correct library for all
    126126          systems.  We do not want lib64 to be used.</para>
    127         </listitem>
    128       </varlistentry>
    129 
    130       <varlistentry>
    131         <term><parameter>libc_cv_rtlddir=/usr/lib</parameter></term>
    132         <listitem>
    133           <para>Fix hardcoded path to the executable loader in the
    134             <command>ldd</command> script.</para>
    135127        </listitem>
    136128      </varlistentry>
  • chapter08/inetutils.xml

    rd4b5218 r30fb4c0  
    4444
    4545<screen><userinput remap="configure">./configure --prefix=/usr        \
     46            --bindir=/usr/bin    \
    4647            --localstatedir=/var \
    4748            --disable-logger     \
     
    117118    <para>Move a program to the proper location:</para>
    118119
    119 <screen><userinput remap="install">mv -v /{,s}bin/ifconfig</userinput></screen>
     120<screen><userinput remap="install">mv -v /usr/{,s}bin/ifconfig</userinput></screen>
    120121
    121122  </sect2>
  • chapter08/openssl.xml

    rd4b5218 r30fb4c0  
    7777
    7878<screen><userinput remap="install">cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
     79
     80    <note>
     81      <para>
     82        You should update OpenSSL when a new version which fixes vulnerabilities
     83        is announced. The releases run in series, with a letter for each release
     84        after the initial release (e.g. 1.1.1, 1.1.1a, 1.1.1b, etc). Because LFS
     85        installs only the shared libraries, there is no need to recompile packages
     86        which link to <filename class="libraryfile">libcrypto.so</filename> or
     87        <filename class="libraryfile">libssl.so</filename>
     88        <emphasis>when upgrading in the same series.</emphasis>
     89      </para>
     90
     91      <para>
     92        However, any running programs linked to those libraries need to be stopped
     93        and restarted. Read the related entries in
     94        <xref linkend='pkgmgmt-upgrade-issues'/> for details.
     95      </para>
     96
     97    </note>
    7998
    8099  </sect2>
  • chapter08/pkgmgt.xml

    rd4b5218 r30fb4c0  
    4242  fits your need.</para>
    4343
    44   <sect2>
     44  <sect2 id='pkgmgmt-upgrade-issues'>
    4545    <title>Upgrade Issues</title>
    4646
     
    9292      scheme of library files suddenly.</para> </listitem>
    9393
     94      <listitem> <para>If a package containing a shared library is updated,
     95      and the name of library doesn't change, but a severe issue
     96      (especially, a security vulnerability) is fixed, all running programs
     97      linked to the shared library should be restarted.  The following
     98      command, run as <systemitem class="username">root</systemitem> after
     99      updating, will list what is using the old versions of those libraries
     100      (replace <replaceable>libfoo</replaceable> with the name of the
     101      library):</para>
     102
     103<screen><userinput role="nodump">grep -l  -e '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps |
     104   tr -cd 0-9\\n | xargs -r ps u</userinput></screen>
     105
     106      <para>
     107        If <application>OpenSSH</application> is being used for accessing
     108        the system and it is linked to the updated library, you need to
     109        restart <command>sshd</command> service, then logout, login again,
     110        and rerun that command to confirm nothing is still using the
     111        deleted libraries.
     112      </para></listitem>
    94113    </itemizedlist>
    95114
Note: See TracChangeset for help on using the changeset viewer.