cryptsetup is 100 times slower then in 1.0.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
my home directory is a luks encrypted volume. the key for this volume is
on my pendrive. before i'd like to login i just plug my pendrive and it
then:
- udev recognize my pendrive
- mount one of the partition on it (which hold the keyfile)
- use the keyfile on the mounted partition and open the luks partirion
- mount the device mapper as my home
- umount my pendrive
this was works perfectly on fedora 8 and takes about 2-4sec to my home
dir be mounted.
now on fedora 9 it's still works, but it takes about 3-4 minutes (!!!)
to finish. when i look into what happened:
- udev recognize my pendrive
- mount one of the partition on it (which hold the keyfile)
- use the keyfile on the mounted partition and open the luks partirion
and here waits for minutes in this place what is see in ps axf:
--------------------------------------
  522 ?        S<s    0:00 /sbin/udevd -d
 2523 ?        S<     0:00  \_ /sbin/udevd -d
 2536 ?        S<     0:00      \_ /bin/bash /root/bin/home-up
/dev/System/lfarkas
 2553 ?        S<     0:00          \_ /bin/bash /root/bin/luks-up
/dev/System/lfarkas
 2569 ?        S<L    0:00              \_ /sbin/cryptsetup luksOpen
/dev/System/lfarkas home-lfarkas
 2718 ?        S<     0:00                  \_ /sbin/udevsettle
--------------------------------------
i assume udevsettle wait for something, but i don't know for what?
and why?
i look into the changelog and found this one:
--------------------------------------
Run udevsettle after device creation (Matthias Koenig)
--------------------------------------
why is it needed in that case? it's a hard disk partition for what this
udevsettle waiting for in this case?
anybody know any quick fix for this or should i've to simple comment out
	run_udevsettle();
in the code?
thank you for your help in advance.
yours.

--
  Levente                               "Si vis pacem para bellum!"

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux