[pkg-cryptsetup-devel] Bug#644082: Encrypted filesystem sometimes, fails to unmount in gnome desktop

Jonas Meurer jonas at freesources.org
Wed Oct 26 14:45:43 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Bernhard,

Am 18.10.2011 19:33, schrieb Bernhard:
>> I'm pretty sure that this is not a bug in cryptsetup, but in
>> some other package.
> That's possible. But this behaviour only appears with encrypted
> storage devices. With unencrypted storage devices, this behaviour
> is not shown.

That doesn't imply that it's a bug in cryptsetup. It might as well be
a bug in gnome, udev, linux kernel, etc.

>> Do you still discover this issue with recent Debian?
> This behaviour appears with actual Debian sid.
> 
>> Do the processes which access the filesystem (scsi_eh_5 and 
>> usb-storage) disappear after some time?
> I'll investigate this next time.

Did you find time to do further investigation in the meantime?

>> A common reason for the issue you described are indexing
>> processes (like nepomuk, strigi, ...) which read the content of a
>> USB disk in the background. You should check which processes
>> read/write to the device by executing 'lsof <device>' (e.g. 
>> '/dev/mapper/udisks-luks-uuid-1234-5678-90ab-cdef12345678-uid1000')
>>
>> 
and 'fuser -m <mount_point>', (e.g.
>> '/media/fedcba09-8765-4321-fedc-ba09-87654321fedc').
> I'll investigate this next time. With XFCE4 in squeeze, this
> behaviour is not shown --> OK. With XFCE4 in sid, this behaviour is
> shown --> UNMOUNTING FAILED. Mounting and unmounting of storage
> devices is switched from HAL to UDEV in XFCE4. Is this the reason
> of failed unmounting? Gnome uses UDEV, too.

This indeed sounds like a udev-related bug then. Please do further
investigation.

Greetings,
 jonas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOqB0XAAoJEFJi5/9JEEn+t30QAJXwG3oKp2YGoZh9ZcEUhO74
ZrpEt2C7Dg2bK3Fnp689o3loKsxVVd0bfOcx4m9xQeDYArJgJhgGSzepX9Wvx5gF
WJ2OhEpaI5nNsxPsSNzGQADHGT8ipxSte4kZuaU6jJKQlHL9IdyyE+3IRArMIzeg
RHd64jle4tZSdHYXDmkztnVzK5JgTfZqD1qTXhylTb542y6IUXH1cVHeT1ixN+EP
x5vagWsNtoJL2Qj3tUo0hPR60PjCK4LtTJqbX5U58A2dsBWIVGAK5+XmXl/9UwX8
k0enanhrmCN9fPnL33Hx409SNDta+vww/bCrlGjrx+EhzWIZvtTwxFHj+oBdt3g+
i6OpMeZZS0jqpTCQ1OrrRPm5+DqhgCaB3A8P3JGjvHmYwIsntnb/mCiiyv7GgNKm
VyIu0f/dMPocXkBE4xAepVxN3IhTZgXz+IjC3Rk5hYz8svgPUTJVzx6lcUm+KnuU
UMS7kUECIN0RZkNLy6YWYoAoC5RYPBrekaYwZ2P/i5cxqD5da0folyl2+QvQOvtB
FS8VnbDUKZVwma42HOUPftGNUvTBsgs3rZMkIa+GTuOvQI3eg+5eKQYMWBXYQrVm
gaFBeBQcjXLq8FvIEEQuc0qCxzCkWTVVKTqyfjd0ziZOZoafhidx31Mt36WwNCnB
2lwQUOcWeNHaMIsFJ+S9
=PiKU
-----END PGP SIGNATURE-----





More information about the pkg-cryptsetup-devel mailing list