From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 Description of problem: The bind-chroot %post script uses ${prefix} where it should use %{prefix} ($ vs. %, shell variable vs. RPM macro). This is the problem line: if [ ! -d "${prefix}/var/tmp" ]; then The intent is to test whether /var/named/chroot/var/tmp exists. However, because of the typo described above, actually /var/tmp is checked. This incorrectly does not run a portion of the %post script. Version-Release number of selected component (if applicable): bind-chroot-9.2.3-13 (FC2), -18 (FC2.90), and 9.2.4rc6-3 (FC development) How reproducible: Always Steps to Reproduce: 1. rpm -e bind-chroot 2. rm -rf /var/named/chroot 3. rpm -i path/to/bind-chroot-9.2.x-x.i386.rpm Actual Results: bind-chroot-9.2.3-13 (FC2), -18 (FC2.90): /var/named/chroot/etc/* are zero-byte files, not copies from /etc /var/named/chroot/dev/* are zero-byte files, not device nodes. /var/named/chroot/var/tmp does not exist. Most of the %post script has not executed. bind-chroot-9.2.4rc6-3 (FC development): Due to restructuring of the %post script, the problem is less severe. /var/named/chroot/var/tmp does not exist.
This is now fixed in bind-chroot-9.2.4rc6-6 .
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-567.html