Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102561420
D35109.id105634.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
715 B
Referenced Files
None
Subscribers
None
D35109.id105634.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D35109: freebsd-update: restart sshd after upgrade
Attached
Detach File
Event Timeline
Log In to Comment