Comment 8 for bug 455709

Revision history for this message
Alex Beels (arbeels-ossf) wrote : Re: "mounting eCryptfs: [-2] No such file or directory" when trying to mount encrypted home

After much searching around, I found your article in Linux Magazine:
http://www.linux-mag.com/id/7568/3/

The instructions there work for me. So I have a workaround. On the other hand, in your article the chroot environment contains the entire original system. The original poster seems to only have a backup of /home. Can the method from your article be adjusted to mount a backup of /home only? What if the backup is on readonly media? (The chroot method failed for me when I tried to mount my backup readonly, but that was the entire filesystem, not just /home.)

I also notice that in the chroot environment I get the same errors as described in my previous post if I try to mount the home directory via mount -t ecryptfs (as root, by necessity) instead of via ecryptfs-mount-private (as the original user). Is the problem in the difference between mount.ecryptfs and mount.ecryptfs_private?