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 - 10:9.2.4rc8-14 +- Fix bug 106572/132385: copy /etc/localtime to chroot on start + * Fri Sep 10 2004 Jason Vas Dias - 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