LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   ISC 3.1 DHCP, CHROOT and Included Files (http://www.linuxquestions.org/questions/linux-software-2/isc-3-1-dhcp-chroot-and-included-files-377732/)

carsten.engel 10-28-2005 09:45 AM

ISC 3.1 DHCP, CHROOT and Included Files
 
I�ve got the problem that all my included files (foobar.shared and barfoo.shared) wouldn�t be transfered in the CHROOT...

Shutting down DHCP server
Starting DHCP server .../usr/sbin/rcdhcpd:161: could not copy /etc/dhcpshare/sefclients.shared to chroot jail failed


I have tried to copy them to the chroot:

Code:

                for i in $DAEMON_CONF $DHCPD_CONF_INCLUDE_FILES /etc/{resolv.conf,host.conf,hosts,localtime}; do
                        cp -a $i $CHROOT_PREFIX/$i &>/dev/null \
                                || { echo "...$0:$LINENO: could not copy $i to chroot jail"; rc_failed; rc_status -v1; exit 6; }
                done
                for i in $DAEMON_CONF $DHCPD_CONF_INCLUDE_FILES /etc/dhcpshare/{foobar.shared,barfoo.shared}; do
                        cp -a $i $CHROOT_PREFIX/$i &>/dev/null \
                                || { echo "...$0:$LINENO: could not copy $i to chroot jail"; rc_failed; rc_status -v1; exit 6; }

Could any one help me?


All times are GMT -5. The time now is 01:52 AM.