Description of problem: Trying to relocate the location of the chroot jail fails, due to the default path being hardcoded into the scripts portion of the RPM. I don't know if the RPM can pass the relocation into the script portions or not, but, it's not doing it. Version-Release number of selected component (if applicable): bind-chroot-9.2.2.P3-9 How reproducible: Every Time. Steps to Reproduce: 1. rpm -U --relocate=/var/named/chroot=/var/roots/named bind-9.2.2.P3- 9.i386.rpm bind-utils-9.2.2.P3-9.i386.rpm bind-chroot-9.2.2.P3- 9.i386.rpm Actual results: warning: /etc/rndc.conf created as /etc/rndc.conf.rpmnew warning: /etc/rndc.key created as /etc/rndc.key.rpmnew mknod: `/var/named/chroot/dev/null': No such file or directory chmod: failed to get attributes of `/var/named/chroot/dev/null': No such file or directory mknod: `/var/named/chroot/dev/random': No such file or directory chmod: failed to get attributes of `/var/named/chroot/dev/random': No such file or directory chown: failed to get attributes of `/var/named/chroot/dev/random': No such file or directory cp: cannot create regular file `/var/named/chroot/etc/localtime': No such file or directory cp: cannot create regular file `/var/named/chroot/etc/rndc.key': No such file or directory chown: failed to get attributes of `/var/named/chroot/etc/rndc.key': No such file or directory chown: failed to get attributes of `/var/named/chroot/var/named': No such file or directory Expected results: Clean install and relocation of the chroot in /var/roots/named. Additional info:
This is not supported by RPM or RedHat. You will have to do this by hand. Sorry. Dan