net-misc/openssh-8.2_p1-r1: ewarn to restart sshd (bug #709748)
authorPatrick McLean <chutzpah@gentoo.org>
Sun, 16 Feb 2020 06:43:05 +0000 (22:43 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Sun, 16 Feb 2020 06:46:40 +0000 (22:46 -0800)
Bug: https://bugs.gentoo.org/709748
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
net-misc/openssh/openssh-8.2_p1-r1.ebuild

index 2d64815e3fe924b2388f6309bb842d6b593f88a2..8f0340742033f40afb2a88d8df88375a364aa8e4 100644 (file)
@@ -463,4 +463,10 @@ pkg_postinst() {
                elog "Otherwise you maybe unable to connect to this sshd using any AES CTR cipher."
                elog ""
        fi
+
+       if has_version "<${CATEGORY}/${PN}-8.2_p1"; then
+               ewarn "After upgrading to openssh-8.2p1 please restart sshd, otherwise you"
+               ewarn "will not be able to establish new sessions. Restarting sshd over a ssh"
+               ewarn "connection is generally safe."
+       fi
 }