← Back to team overview

ecryptfs team mailing list archive

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

 

Jaunty commit 'UBUNTU: Build in Crypto modules AES, CBC, ECB'

** Changed in: linux (Ubuntu)
       Status: Triaged => Fix Committed

-- 
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 Committed
Status in “user-setup” source package in Ubuntu: Triaged

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