On Wed, January 17, 2007 1:18, Frans Pop said: > On Wednesday 17 January 2007 00:47, Frans Pop wrote: >> According to Marco d'Itri the /dev/md-* node _is_ removed if the >> command 'cryptsetup remove $NAME"' is used to bring down a crypto >> volume (I've not tested this myself). > > I've just confirmed that 'cryptsetup remove' does indeed do the right > thing. So, why does the init script only do 'losetup -d'?
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). Also, in an earlier msg to the same BR, you seemed to indicated that strider-home_crypt and strider-swap_crypt were removed when /etc/rc0.d/S48cryptdisks was executed...that would indicate that "cryptsetup remove" was indeed executed. I'll take a look at this later today if I have time. Meanwhile, could you add some debugging output to "do_close" in the cryptdisks.functions script and retry a shutdown? -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]