Since I install schroot environment I have trouble during shutdown/reboot of my computer. Detailed inspection shows, that cause is schroot-session-management. Session is leaved in /var/lib/schroot/session and mountpoints in /var/lib/schroot/mount is not automatically unmounted, what produce filesystem damage.
It is strongly direct to replace script /usr/local/bin/do_schroot from my how-to with this:
#!/bin/bash PROG="`basename $0`" ACTSESSION=`exec schroot -c etch -b` schroot -p -r -c $ACTSESSION -- "$PROG" "$@" sleep 30s schroot -e -c $ACTSESSION
Within it appears directly begin and end of session, what release trouble.
Bertold
|