[pkg-cryptsetup-devel] Bug#554506: (ugly) patch which should fix dm-crypt-on-lvm setups
Alasdair G Kergon
agk at redhat.com
Thu Nov 4 14:32:24 UTC 2010
If the complex processing doesn't work for everyone then yes, simplify
it and activate everything always.
To do it the other way you need logic something like:
Every time you boot, check if the stack of devices necessary to be
activated has changed, and if so, update the information for use next
time it boots.
At boot time, try the last stack known to work first. If it doesn't
work, try any other different saved stacks from earlier boots. If none
of them work then fall back to activating everything.
In other words make the initramfs code robust enough to cope with
the unexpected!
Alasdair
More information about the pkg-cryptsetup-devel
mailing list