Actually, on reflection, the log file really needs to stay open for a log message after that point, so I like Steven's suggestion of replacing cp with mv if $TARGET/debootstrap is to be removed. I'll apply this patch.
-- debootstrap fails to remove own log file on NFS https://launchpad.net/bugs/65003 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs