[pkg-cryptsetup-devel] regarding Bug#573073: delay at creating lvm devices

Marco d'Itri md at Linux.IT
Sat Sep 25 21:19:41 UTC 2010


On Sep 25, Jonas Meurer <jonas at freesources.org> wrote:

> the buglog of bug#573073 (filed against cryptsetup) indicates that the
> lvm2 initscript at boot process finishes before the devices are actually
> created by udev.
There is nothing wrong with this.

> i guess this is a general problem concerning several initscripts which
> push udev, but it might be able to workaround it by invoking 'udevadm
> settle' in lvm2 initscript.
No, it's not like we need to make the boot slower by adding more
serialization points. The correct solution is to modify cryptsetup to
install RUN rules and react to the appropriate events.
e.g. (I do not know it this is correct for this specific case):

SUBSYSTEM="block", ID_FS_TYPE="crypto_LUKS", RUN+="..."

The boot process must be event-driven.

-- 
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100925/37301680/attachment-0001.pgp>


More information about the pkg-cryptsetup-devel mailing list