dmcrypt + update to kernel 2.6.20-16 fails

Bug #117979 reported by Jan
18
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.20-16-generic

I am using Feisty and have my home partition encrypted with dmcrypt+LUKS. When booting the system and I lock-in in GNOME, the partition is automatically decrypted and mounted with the same password as the lock-in password. Recently a mandatory update from 2.6.20-15 to 2.6.20-16 took place. Since this upgrade the transparent decryption of the home partition fails. I don't know exactly what goes wrong but it works when starting Ubuntu with 2.6.20-15 which is still installed.

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

I can confirm this bug. Updating from 2.6.20-15 to 2.6.20-16 breaks luks/dmcrypt. I my test setup I used a partition that gets decrypted while booting ("Starting early crypto disks"). With 2.6.20-16 the kernel does not recognize the partition and drops with errors into single user mode.

If I remember correctly when installing the crypto stuff a new personal initrd.img-2.6.20-15-generic was created for supporting the crypto stuff, probably this step is missing when updating the kernel. This should definitely be done automatically.

Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-team
status: Unconfirmed → Confirmed
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Lutz, Casper:
Can you post the output of
lspci
and
cat /etc/fstab
in 2.6.20-15?

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

My fstab creates a cryptdrive that is symlinked e.g. from /home/ccm, /tmp and /var/spool

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :
Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Casper:
Thanks. You're seeing fallout from Bug #116996 (your IDE controller is a ICH4). I guess dmcrypt+LUKS configuration files have /dev/sd?? references inside them rather than UUIDs so when your partitions were renamed they could no longer be found...

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Sitsofe, you are totally right, it's about hda/sda stuff. Feel free to mark this bug as duplicate (I heard you shouldn't mark your bug reports :). Thanks for the hint!

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Invalid
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.