=== JanC_ is now known as JanC [16:59] Hi somebody around for a question? :) [16:59] i'm rewriting upstart script for cryptsetup. Now what signal can be used to remove the crypted mappings? This should be done after umount happend. === JanC_ is now known as JanC [17:10] dupondje: you want to automatically remove the crypted mapping after the filesystem on it gets unmounted? [17:12] that might get complicated in case there is a partition table (or whatever else that is not a filesystem) on the encrypted block device... [17:13] JanC: well it should be stopped before lvm or so is stopped, and after umount ofc [17:14] dupondje: doesn't that depend on whether lvm is below or on top of dm-crypt? ;) [17:14] hmmmm :P [17:14] (and can't/doesn't the kernel handle this?) [17:18] there is a do_stop at least for debian [17:20] then i'll should just add post-stop script in the upstart to stop all (unmounted) crypt mappings when running service cryptsetup stop right [17:23] Cause now there are 2 init scripts and 2 upstart scripts, the init scripts taking care of the stop, the upstart for the start [17:23] thats like not clean ;) [17:25] you might want to discuss with some of the people who know more about those parts of boot/shutdown... [17:31] tought this would be the place ;) [17:34] dupondje: if this is Ubuntu-specific, #ubuntu-devel or such might be more useful