Changeset 59fef4c
- Timestamp:
- 05/15/2021 06:55:02 PM (3 years ago)
- Branches:
- 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 7fbfed56
- Parents:
- 80838616
- git-author:
- Xi Ruoyao <xry111@…> (05/15/2021 06:52:59 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (05/15/2021 06:55:02 PM)
- Location:
- chapter08
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/openssl.xml
r80838616 r59fef4c 91 91 <para> 92 92 However, any running programs linked to those libraries need to be stopped 93 and restarted. The following command, run as 94 <systemitem class="username">root</systemitem> after udating, will list what is 95 using the old versions of those libraries: 93 and restarted. Read the related entries in 94 <xref linkend='pkgmgmt-upgrade-issues'/> for details. 96 95 </para> 97 96 98 <screen><userinput role="nodump">grep -l -e 'libssl.*deleted' -e 'libcrypto.*deleted' /proc/*/maps |99 tr -cd 0-9\\n | xargs -r ps u</userinput></screen>100 101 <para>102 If you used <application>OpenSSH</application> to login to the system, you103 need to logout, login again, and rerun that command to confirm nothing is104 still using the deleted libraries.105 </para>106 97 </note> 107 98 -
chapter08/pkgmgt.xml
r80838616 r59fef4c 42 42 fits your need.</para> 43 43 44 <sect2 >44 <sect2 id='pkgmgmt-upgrade-issues'> 45 45 <title>Upgrade Issues</title> 46 46 … … 92 92 scheme of library files suddenly.</para> </listitem> 93 93 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> 94 113 </itemizedlist> 95 114
Note:
See TracChangeset
for help on using the changeset viewer.