pkgmgmt: for systemd revision, add how to restart systemd without reboot

This commit is contained in:
Xi Ruoyao 2022-03-16 15:49:35 +08:00 committed by William Harrington
parent e85741a2cd
commit afe4fcba5e

View File

@ -102,7 +102,7 @@
you have to downgrade a package, or the package changes the versioning
scheme of library files suddenly.</para> </listitem>
<listitem> <para>If a package containing a shared library is updated,
<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
@ -120,6 +120,13 @@
restart <command>sshd</command> service, then logout, login again,
and rerun that command to confirm nothing is still using the
deleted libraries.
</para>
<para revision='systemd'>
If the <command>systemd</command> daemon (running as PID 1) is
linked to the updated library, you can restart it without reboot
by running <command>systemctl daemon-reexec</command> as the
<systemitem class='username'>root</systemitem> user.
</para></listitem>
<listitem>