regarding Bug#573073: delay at creating lvm devices
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the pkg-lvm-maintainers