I hope you've figured this out already.
I encountered the same problem today and after hunting around for a solution, I managed to find it myself using strace.
I ran:
strace -o file chroot /chroot/ /apache2/bin/httpd
And I hunted through the file looking for problems...until I found that the...
Thanks vgersh99!
This worked:
eval $CREATE_FS
I did try to trace this script out, but I couldn't figure out how to get strace to show the command line options that were passed to find...anyway it works like a charm now!
Thanks,
Paul
I'm writing a script to automatically create a backup of my filesystem which I will then burn to a cd. Everything except this works.
BACKUP_NAME="phoenix"
BACKUP_DIR="/$BACKUP_NAME"
CREATE_FS="find . -mount -depth -print0 | cpio -apdmu0 $BACKUP_DIR"
echo...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.