Preserve symlinks to named.conf on iscdlv modification (#1786626)
This commit is contained in:
parent
b4802c2e65
commit
4fa84d9ccc
@ -64,7 +64,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
||||
Name: bind
|
||||
License: MPLv2.0
|
||||
Version: 9.11.14
|
||||
Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Release: 3%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Epoch: 32
|
||||
Url: https://www.isc.org/downloads/bind/
|
||||
#
|
||||
@ -1143,7 +1143,7 @@ else
|
||||
if /usr/sbin/named-checkconf -p /etc/named.conf 2>/dev/null | 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
|
||||
if cp -Rf --preserve=all --remove-destination /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
|
||||
@ -1615,6 +1615,9 @@ fi;
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 03 2020 Petr Menšík <pemensik@redhat.com> - 32:9.11.14-3
|
||||
- Preserve symlinks to named.conf on iscdlv modification (#1786626)
|
||||
|
||||
* Thu Dec 19 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.14-2
|
||||
- Include more Thread Sanitizer detected changes (#1736762)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user