Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150446319
D41890.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
790 B
Referenced Files
None
Subscribers
None
D41890.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
@@ -3036,9 +3036,10 @@
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
+ # Restart host sshd if running (PR263489). Note that this does
+ # not affect child sshd processes handling existing sessions.
+ if [ "$BASEDIR" = / ] && \
+ service sshd status >/dev/null 2>/dev/null; then
echo
echo "Restarting sshd after upgrade"
service sshd restart
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 6:52 AM (7 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30692721
Default Alt Text
D41890.diff (790 B)
Attached To
Mode
D41890: freebsd-update: do not restart jailed sshd
Attached
Detach File
Event Timeline
Log In to Comment