fsck fails when homedir is encrypted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland | ||
Bug Description
Binary package hint: ecryptfs-utils
Lucid installed with encrypted homedir option and ext4 partitions.
When fsck fails to fix errors automatically during boot, it waits for manual intervention with root shell. But before shell launches, ecryptfs tries to mount homedir, which it obviously can't do, because / is not mounted, so it hangs. This renders system unusable, without LiveCD nearby. Same thing in single mode.
ProblemType: Bug
Architecture: amd64
Date: Thu Jan 21 14:15:31 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091209)
NonfreeKernelMo
Package: ecryptfs-utils 82-0ubuntu2
ProcEnviron:
LANG=ru_RU.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: ecryptfs-utils
Uname: Linux 2.6.32-11-generic x86_64
Changed in initramfs-tools (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in ecryptfs-utils (Ubuntu): | |
status: | Invalid → Confirmed |
Hmm, ecryptfs-utils may need to solve this in pam_ecryptfs, making sure that /home is mounted and readable before trying to mount. I can fix this.