Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147287568
D35109.1782772084.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
715 B
Referenced Files
None
Subscribers
None
D35109.1782772084.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
Mon, Jun 29, 10:28 PM (18 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28990875
Default Alt Text
D35109.1782772084.diff (715 B)
Attached To
Mode
D35109: freebsd-update: restart sshd after upgrade
Attached
Detach File
Event Timeline
Log In to Comment