Oh lame, I added "set -x" to debootstrap and found the problem:
+ [ = true ] + rm -rf /opt/ltsp/i386/debootstrap rm: cannot remove directory `/opt/ltsp/i386/debootstrap': Directory not empty + exit_function
Adding --keep-debootstrap-dir to the debootstrap line caused it to work on nfs. Now why is rm being so strange?
Oh lame, I added "set -x" to debootstrap and found the problem:
+ [ = true ] i386/debootstra p i386/debootstra p': Directory not empty
+ rm -rf /opt/ltsp/
rm: cannot remove directory `/opt/ltsp/
+ exit_function
Adding --keep- debootstrap- dir to the debootstrap line caused it to work on nfs. Now why is rm being so strange?