(un)mount /var/named in -chroot packages as the last directory (Related: #1279188)

This commit is contained in:
Tomas Hozza 2016-05-20 16:19:54 +02:00
parent d591319212
commit aeb3d0fc5d
2 changed files with 6 additions and 3 deletions

View File

@ -25,7 +25,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.10.3
Release: 13%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Release: 14%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -997,6 +997,9 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
* Fri May 20 2016 Tomas Hozza <thozza@redhat.com> - 32:9.10.3-14.P4
- (un)mount /var/named in -chroot packages as the last directory (Related: #1279188)
* Thu May 12 2016 Tomas Hozza <thozza@redhat.com> - 32:9.10.3-13.P4
- Remove NM dispatcher script, since it is not needed any more (#1277257)
- Replaced After=network-online.target with After=network.target in all unit files

View File

@ -2,8 +2,8 @@
ROOTDIR_MOUNT='/etc/localtime /etc/named /etc/pki/dnssec-keys /etc/named.root.key /etc/named.conf
/etc/named.dnssec.keys /etc/named.rfc1912.zones /etc/rndc.conf /etc/rndc.key
/usr/lib64/bind /usr/lib/bind /etc/named.iscdlv.key /run/named /var/named
/etc/crypto-policies/back-ends/bind.config'
/usr/lib64/bind /usr/lib/bind /etc/named.iscdlv.key /run/named
/etc/crypto-policies/back-ends/bind.config /var/named'
usage()
{