[Bug 1798512] Re: [ppc64el] LVM+crypto on ppc64el points to an invalid crypto_source

Dimitri John Ledkov launchpad at surgut.co.uk
Fri Jun 21 11:43:28 UTC 2019


*** This bug is a duplicate of bug 1825189 ***
    https://bugs.launchpad.net/bugs/1825189

initramfs hooks of cryptsetup got "smarter" and generate dev-mapper name as seen in d-i as the source device...
... which has wrong X/-partX naming for multipath devices
... thus partman-multipath, should rename multipath devices "for target" once partman is finally done, as otherwise at update-initramfs an invalid crypttab is generated and included in the initramfs irrespective of what /target/etc/fstab says.

** Changed in: partman-crypto (Ubuntu)
       Status: Incomplete => Fix Committed

** This bug has been marked a duplicate of bug 1825189
   Using full disk encryption, on a multipath device (in this case FCP) ended up in trying to open/unlock a wrong DM device

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-crypto in Ubuntu.
https://bugs.launchpad.net/bugs/1798512

Title:
  [ppc64el] LVM+crypto on ppc64el points to an invalid crypto_source

Status in multipath-tools package in Ubuntu:
  Expired
Status in partman-crypto package in Ubuntu:
  Fix Committed

Bug description:
      4.582154]    8regs     : 17120.000 MB/sec
  [    4.622155]    8regs_prefetch: 15152.000 MB/sec
  [    4.662154]    32regs    : 17968.000 MB/sec
  [    4.702155]    32regs_prefetch: 16512.000 MB/sec
  [    4.742155]    altivec   : 26000.000 MB/sec
  [    4.742202] xor: using function: altivec (26000.000 MB/sec)
  [    4.743182] async_tx: api initialized (async)
  done.
  Spawning shell within the initramfs

  
  BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) built-in shell (ash)
  Enter 'help' for a list of built-in commands.

  (initramfs) grep -r mpatha3 *
  cryptroot/crypttab:mpatha3_crypt /dev/mapper/mpatha3 none luks,discard

  
  Boot reproducibly fails because it can't find /dev/mapper/mpatha3. This is expected, since after install the device is named mpatha-part3.

  We really need to standardize on the naming...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1798512/+subscriptions



More information about the foundations-bugs mailing list