friendly-recovery freezes by remounting partitions (only with cryptsetup)

Bug #981792 reported by Benedikt
This bug affects 3 people
Affects Status Importance Assigned to Milestone
friendly-recovery (Ubuntu)

Bug Description

When I Press "Network" and then want that the program mounts my partitions it hangs. I press than Ctrl + C. Then I can see that friendly-recovery is hanging with the problem: "could not mount /dev/mapper/cryptswap1 M for manual S for skip" Then the program is killed and the computer starts normally.

I noted this problem first in this bug report:

Steve Langasek said to this (

"It appears that friendly-recovery calls 'udevadm trigger' manually instead
of starting the 'udevtrigger' job. As a result, the cryptdisks-enable job,
which is the catch-all that starts random-crypted swap devices, is never

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: friendly-recovery 0.2.25
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu2
Architecture: i386
Date: Sat Apr 14 20:25:49 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: friendly-recovery
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Benedikt (benedikt-klotz) wrote :
Steve Langasek (vorlon)
Changed in friendly-recovery (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
jhansonxi (jhansonxi) wrote :

I'm not sure if my problem has the same cause but recovery mode freezes whenever it tries to remount RW. I have three luks/dm-crypt partitions: /, swap, /home. If I create key files in crypttab (and update-initramfs to apply the change) for swap and /home, then remounting works correctly.

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