Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137350508
D21805.id62607.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
726 B
Referenced Files
None
Subscribers
None
D21805.id62607.diff
View Options
Index: usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- usr.sbin/freebsd-update/freebsd-update.sh
+++ usr.sbin/freebsd-update/freebsd-update.sh
@@ -2944,6 +2944,13 @@
install_from_index INDEX-NEW || return 1
install_delete INDEX-OLD INDEX-NEW || return 1
+ # Any cert changes?
+ if grep -qE -m 1 -e '^/usr/share/certs/(trusted|blacklisted)' \
+ $1/INDEX-OLD $1/INDEX-NEW; then
+ # Rehash if we've modified installed certs
+ env DESTDIR=${BASEDIR} certctl rehash
+ fi
+
# Rebuild generated pwd files.
if [ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/spwd.db ] ||
[ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/pwd.db ] ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 23, 5:27 PM (6 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26022678
Default Alt Text
D21805.id62607.diff (726 B)
Attached To
Mode
D21805: freebsd-update: rehash certs
Attached
Detach File
Event Timeline
Log In to Comment