Cryptsetup with sata drive and cryptoroot

Ilkka Tuohela hile at ner.dy.fi
Mon Mar 26 06:23:10 BST 2007


Reinhard Tartler kirjoitti:
> Scott, Ian,
> 
> After reading and chatting with Scott in IRC, it seems that the below
> patch should not be necessary anymore. Could you please comment on the
> patch below? How does this integrate into
> https://wiki.ubuntu.com/UdevDeviceMapper?

So what's status of including my small patches for feisty package?

I'm talking about:
- patch to wait for the crypto device to appear (not LVM), this patch
  also cleaned up anything LVM and EVMS-related parts from the scripts
- patch to add documentation of LVMROOT-ON-LUKS to the README in package

I have been running my own, patched version with the first patch since
we last talked about this, and it's working just perfectly. The patch
for waiting for device to appear is really required, as long as we don't
change whole cryptsetup package to asynchronous one, which does not seem
feasible to do with feisty (no way to handle asynchronous scripts with
input from user). Without the device waiting patch you just don't get a
working system in many cases, because the cryptsetup script is executed
before kernel has the devices ready.

I would love to see completely asynchornous cryptsetup handling, but we
really should fix the waiting problem NOW, not waiting for someone to
actually implement required asynchornous input tasks.

Oh, btw, same 'wait for root device' problem exists in edgy as well, and
same 'wait for device' fix works there. The maximum wait time is maybe
silly (360*0.5 seconds, i.e. 3 minutes), I think maximum of 30 seconds
should be really fine.

	*hile*



More information about the ubuntu-devel mailing list