~ubuntu-branches/ubuntu/oneiric/cryptsetup/oneiric

Viewing all changes in revision 68.

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek, Steve Langasek, Colin Watson
  • Date: 2009-12-15 18:05:45 UTC
  • Revision ID: james.westby@ubuntu.com-20091215180545-b9znvx4x6ent0g9t
Tags: 2:1.1.0~rc2-1ubuntu4
[ Steve Langasek ]
* debian/initramfs/cryptroot-script: if plymouth is present in the
  initramfs, use this directly, bypassing the cryptsetup askpass script;
  but keep support for these other frontends around on a transitional
  basis.
* debian/cryptdisks.functions:
  - change interaction to use plymouth directly if present, and if not, to
    fall back to /lib/cryptsetup/askpass as before
  - wrap the call to /lib/cryptsetup/askpass with watershed, to make sure
    we only ever have one of these running at a time; otherwise multiple
    invocations could steal each other's input and/or write over each
    other's output
  - new function, crypttab_start_one_disk, to look for the named source
    device in /etc/crypttab (by device name, UUID, or label) and start it
    if configured to do so
* debian/cryptdisks-enable.upstart: run the upstart job once for each block
  device, using the new crypttab_start_one_disk function, triggered by udev;
  this doesn't eliminate the possibility of a race with gdm when the
  decrypted volume isn't a 'bootwait' mount point (since gdm kills
  plymouth), but it does eliminate the race between udev and cryptsetup.
  LP: #454898.
* debian/cryptdisks-enable.upstart: check that the package is installed
  and exit gracefully if it's not.  LP: #435814
* debian/cryptdisk.functions: initially create the device under a temporary
  name and rename it only at the end using 'dmsetup rename', to ensure that
  upstart/mountall doesn't see our device before it's ready to go.
  LP: #475936.

[ Colin Watson ]
* Add ext4 support to passdev.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: