Changeset 59fef4c for chapter08/pkgmgt.xml
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.