Page MenuHomeFreeBSD

D35109.id105634.diff
No OneTemporary

D35109.id105634.diff

diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -3023,6 +3023,14 @@
install_from_index INDEX-NEW || return 1
install_delete INDEX-OLD INDEX-NEW || return 1
+ # Restart sshd if running (PR263489). Note that this does not
+ # affect child sshd processes handling existing sessions.
+ if service sshd status >/dev/null 2>/dev/null; then
+ echo
+ echo "Restarting sshd after upgrade"
+ service sshd restart
+ fi
+
# Rehash certs if we actually have certctl installed.
if which certctl>/dev/null; then
env DESTDIR=${BASEDIR} certctl rehash

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 2:26 AM (10 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14637043
Default Alt Text
D35109.id105634.diff (715 B)

Event Timeline