Bug#406697: [Pkg-cryptsetup-devel] Bug#406697: Bug #406697 - Device nodes are not removed when devices are brought down

David Härdeman david at hardeman.nu
Wed Jan 17 22:16:17 CET 2007


found 406697 2:1.0.4+svn26-1
found 406697 2:1.0.4-8
severity 406697 minor
thanks

On Wed, Jan 17, 2007 at 12:15:56PM +0100, Frans Pop wrote:
>On Wednesday 17 January 2007 11:32, you wrote:
>> > 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):
>>
>> Umm...but there is one to "do_close"?
>
>Hmm. Right, missed that :-/
>
>I'm now starting to think that the problem could be that the
>'udevd --daemon' process has already been killed during S20sendsigs. 
>That would explain that even if events are still generated, they are no 
>longer processed and thus the devices remain present.
>
>[...]
>
>I've just verified that udevd is indeed no longer running at the time 
>crypto and lvm are shut down.

Ok, udev creates the /dev/dm-* devices and also removes them. At the 
time the cryptdisks scripts are executed at shutdown, udev is not 
running (as FJP said).

The proper "fix" for this seems to be a post-Etch thing (involving 
changes in the kernel, udev and libdevmapper), and the issue seems 
mostly cosmetical, so I'll mark the bug as such.

-- 
David Härdeman




More information about the Pkg-cryptsetup-devel mailing list