On Sep 25, Jonas Meurer <jo...@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

Attachment: signature.asc
Description: Digital signature

Reply via email to