summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjvdias <jvdias@fedoraproject.org>2004-09-20 16:25:13 +0000
committerjvdias <jvdias@fedoraproject.org>2004-09-20 16:25:13 +0000
commitd3f5585cfd59e7bcf07d47033f4ba618651553e1 (patch)
tree776ccf5e16bd527dfcca21e9ef97d624b2ed439b
parent1025afb8a1ef9cee0de5f1267cdac553519f72b9 (diff)
downloadbind-d3f5585cfd59e7bcf07d47033f4ba618651553e1.tar.gz
bind-d3f5585cfd59e7bcf07d47033f4ba618651553e1.tar.xz
bind-d3f5585cfd59e7bcf07d47033f4ba618651553e1.zip
upgrade to bind-9.2.4rc8 & fix bug 106572/132385
-rw-r--r--bind.spec3
-rwxr-xr-xnamed.init3
2 files changed, 6 insertions, 0 deletions
diff --git a/bind.spec b/bind.spec
index ade79d6..4222508 100644
--- a/bind.spec
+++ b/bind.spec
@@ -414,6 +414,9 @@ fi
- o 'deprecation_msg' global has vanished
- bind-9.2.3rc3-deprecation_msg_shut_up.diff.bz2 can disappear
+* Mon Sep 20 2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc8-14
+- Fix bug 106572/132385: copy /etc/localtime to chroot on start
+
* Fri Sep 10 2004 Jason Vas Dias <jvdias@redhat.com> - 10:9.2.4rc7-12_EL3
- Fix bug 132303: if ROOTDIR line was replaced after upgrade from
- bind-chroot-9.2.2-21, restart named
diff --git a/named.init b/named.init
index f5534e3..317f034 100755
--- a/named.init
+++ b/named.init
@@ -38,6 +38,9 @@ start() {
if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then
OPTIONS="${OPTIONS} -t ${ROOTDIR}"
ckcf_options="-t ${ROOTDIR}";
+ if [ -s /etc/localtime ]; then
+ cp -fp /etc/localtime ${ROOTDIR}/etc/localtime
+ fi;
fi
conf_ok=0;
if [ -x /usr/sbin/named-checkconf ] && /usr/sbin/named-checkconf $ckcf_options; then