summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2016-05-20 16:19:54 +0200
committerTomas Hozza <thozza@redhat.com>2016-05-20 16:19:54 +0200
commitaeb3d0fc5d8a7240a0ae6f0c2ff404001dda0f7c (patch)
treecbb0c577db9f89960ba5c9139d4defb8475fdc0e
parentd591319212f51394a3d79897d7a0147a6d332d25 (diff)
downloadbind-aeb3d0fc5d8a7240a0ae6f0c2ff404001dda0f7c.tar.gz
bind-aeb3d0fc5d8a7240a0ae6f0c2ff404001dda0f7c.tar.xz
bind-aeb3d0fc5d8a7240a0ae6f0c2ff404001dda0f7c.zip
(un)mount /var/named in -chroot packages as the last directory (Related: #1279188)
-rw-r--r--bind.spec5
-rwxr-xr-xsetup-named-chroot.sh4
2 files changed, 6 insertions, 3 deletions
diff --git a/bind.spec b/bind.spec
index fd90818..740af22 100644
--- a/bind.spec
+++ b/bind.spec
@@ -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
diff --git a/setup-named-chroot.sh b/setup-named-chroot.sh
index 7707e9e..097cb2a 100755
--- a/setup-named-chroot.sh
+++ b/setup-named-chroot.sh
@@ -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()
{