← Back to team overview

ecryptfs team mailing list archive

[Bug 309541] Re: Jaunty Alpha 2 Installation: encrypted home directory broken

 

I ran the media check and it succeeded.  During the install the auto-
partition didn't recognize my dual-boot setup, so I used the manual
method and just formatted my previous EXT3 (/) to EXT3 again (tried EXT4
but that failed - don't remember the details, but we're already way OT).
Maybe I'll try a fresh install again using encrypted home since it
worked for you.

-- 
Jaunty Alpha 2 Installation: encrypted home directory broken
https://bugs.launchpad.net/bugs/309541
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Invalid
Status in “linux” source package in Ubuntu: Fix Released
Status in “user-setup” source package in Ubuntu: Fix Released

Bug description:
Binary package hint: user-setup

The Jaunty Alpha2 server and alternate installations offer a new option just after creating the initial user.

This option is supposed to setup the user's home directory for encryption.

Unfortunately, this is not working, due to missing kernel modules (ecb).

If you select this option, the user will be created, however the encrypted home directory setup will not complete.  This will yield an unwritable (500) home directory, and your /etc/skel will be missing.

If you are suffering from this problem in post installation, as a temporary workaround, you can:
 $ sudo passwd    # set a root password
 $ exit
 login: root
 # userdel -r $YOUR_USER
 # rm -rf /var/lib/ecryptfs/$YOUR_USER
 # adduser --encrypt-home $YOUR_USER
 # exit
 login: $YOUR_USER

This should be solved very shortly after Alpha2 in the daily iso's with an update to the crypto-modules package (and possibly some appropriate modprobing by user-setup).

:-Dustin


:-Dustin



References