On Sun, 29 Aug 2010 19:52:10 +0200, Rémy Oudompheng <remyoudompheng@gmail.com> wrote:
Rémy Oudompheng <remyoudompheng@gmail.com> :
I get random catastrophes when starting the script while still having some shell open inside: I think it comes from binds not properly dismounted before calling the 'rm -rf' line. Would it be wise to add the --one-file-system option there ?
Gah, even with this change, I still get my packages cache deleted and /dev gets broken (funny things like "/dev/null: permission denied). I can't find the culprit line, makechrootpkg seems to use rsync -x, rebooting...
I don't really know what you are doing here. ;-) Some more detailed steps how to reproduce it would be helpful. For future versions I could try to add some kind of locking and more robust checks if there are mount point within the target dir. -- Pierre Schmitz, https://users.archlinux.de/~pierre