On Wednesday 17 January 2007 10:23, you wrote: > In "do_stop" there is a call to "do_close" which does "cryptsetup > remove" or "cryptsetup luksClose" (if the use count of the device is > 0).
Does _not_ seem to be the case. Here's the entire do_stop function from /lib/cryptsetup/cryptdisks.functions on my box and I see no calls to 'crytsetup remove' (indentation reduced a bit): do_stop () { $DEVMAPCMD mknodes log_action_begin_msg "Stopping $INITSTATE crypto disks" egrep -v "^[[:space:]]*(#|$)" $TABFILE | while read dst src key opts; do if test -b $MAPPER/$dst; then if $DEVMAPCMD info $dst | grep -q '^Open count: *0$'; then dev=`$DEVMAPCMD table $dst | sed 's/^.* \([0-9]*:[0-9]*\) .*/\1/'` major=`echo $dev | sed 's/:.*//'` minor=`echo $dev | sed 's/.*://'` log_progress_msg "$dst(stopping)" do_close # Detach loopback device, if attached if test -f $src -a $major -eq 7; then $LOSETUP -d /dev/loop$minor fi else log_progress_msg "$dst(busy)" fi else log_progress_msg "$dst(stopped)" fi done log_action_end_msg 0 } Note that I am running testing (cryptsetup 1.0.4-8). Is this one of the things fixed in the version waiting in unstable for the alpha buildd? I see nothing in the changelog to indicate that (at a quick glance).
pgpmOweIE9ftb.pgp
Description: PGP signature