Description of problem: Upgrading to latest bind subpackages yields this error in two subpackages Version-Release number of selected component (if applicable): 9.3.4-5.fc6 How reproducible: always Steps to Reproduce: 1.upgrade to latest bind packages 2. 3. Actual results: 36:Installing caching-names.. ######################################## [ 90%] /usr/sbin/bind-chroot-admin: line 224: [: : unary operator expected Stopping named: [ OK ] Starting named: [ OK ] 38:Installing bind-chroot ######################################## [ 95%] Output from bind-chroot-31:9.3.4-5.fc6@x86_64: /usr/sbin/bind-chroot-admin: line 224: [: : unary operator expected Expected results: No errors in scripts Additional info: 223 . /etc/sysconfig/named 224 if [ "$ENABLE_ZONE_WRITE" = [yY1]* ]; then 225 return 0; 226 fi; The comaprison is bogus, it assumes that test's equality operation applies a globbing expression matching, while in reality it globs on files matching [yY1]* in the current folder. I you want to do such kind of a testing try (untested) > if echo "$ENABLE_ZONE_WRITE" | grep -E '^[yY1]' > /dev/null; then
Fix is also avaliable on http://people.redhat.com/atkac/bind/ Regards, Adam *** This bug has been marked as a duplicate of 241103 ***