Fix setup-named-chroot.sh to mount/umount everything successfully

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2013-08-05 15:18:52 +02:00
parent d60cf6630d
commit f4daa58a90
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.9.4
Release: 0.2.%{?PATCHVER}%{?PREVER}%{?dist}
Release: 0.3.%{?PATCHVER}%{?PREVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -776,6 +776,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
* Mon Aug 05 2013 Tomas Hozza <thozza@redhat.com> 32:9.9.4-0.3.b1
- Fix setup-named-chroot.sh to mount/umount everything successfully
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 32:9.9.4-0.2.b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -2,7 +2,7 @@
ROOTDIR_MOUNT='/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 /var/named /run/named'
/usr/lib64/bind /usr/lib/bind /etc/named.iscdlv.key /run/named /var/named'
usage()
{