Only one device of multidevice btrfs is decrypted in cryptroot

Bug #1362884 reported by Marek Dopiera
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Setup
---

Description: Ubuntu 14.04.1 LTS
Release: 14.04
cryptsetup:
  Installed: 2:1.6.1-1ubuntu1
  Candidate: 2:1.6.1-1ubuntu1
  Version table:
 *** 2:1.6.1-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

The setup is 2 LUKS encrypted partitions on top of which is btrfs setup as RAID 1. The problem is that only one device is decrypted in the generated initramfs image.

Reason for failure
---
I debugged the problem myself and the reason is:
- there is no LVM-like code in the initramfs hook to include others as well

Solution
---
The solution is to make the hooks aware of other btrfs devices.

Workaround
---
Manually specify other devices as resume devices.

Tags: patch trusty
Revision history for this message
Marek Dopiera (3z-marek-2q) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "btrfs.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: added: trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cryptsetup (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.