Automatically replace obsoleted ISC DLV key with root key (#1595782)
This commit is contained in:
parent
e1f8ad2217
commit
95d8248d50
11
bind.spec
11
bind.spec
@ -953,6 +953,16 @@ else
|
||||
if getent passwd named | grep ':/sbin/nologin$' >/dev/null; then
|
||||
usermod -s /bin/false named
|
||||
fi
|
||||
# Checkconf will parse out comments
|
||||
if /usr/sbin/named-checkconf -p /etc/named.conf | grep -q named.iscdlv.key
|
||||
then
|
||||
echo "Replacing obsolete named.iscdlv.key with named.root.key..."
|
||||
if cp -af /etc/named.conf /etc/named.conf.rpmbackup; then
|
||||
sed -e 's/named\.iscdlv\.key/named.root.key/' \
|
||||
/etc/named.conf.rpmbackup > /etc/named.conf || \
|
||||
mv /etc/named.conf.rpmbackup /etc/named.conf
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
%systemd_post named.service
|
||||
:;
|
||||
@ -1407,6 +1417,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%changelog
|
||||
* Mon Aug 13 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.4-6.P1
|
||||
- Fix sdb-chroot devices upgrade (#1592873)
|
||||
- Automatically replace obsoleted ISC DLV key with root key (#1595782)
|
||||
|
||||
* Thu Aug 09 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.4-5.P1
|
||||
- Update to 9.11.4-P1
|
||||
|
Loading…
Reference in New Issue
Block a user