/usr/bin/ecryptfs-setup-private fails with exit status 1 during install - User's home directory not encrypted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft | ||
Oneiric |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
ubuntu server 20110816
During install, users's home directory is not encrypted despite the option 'Encrypt Home' has been selected.
Relevant part of the installation log:
debconf: --> GET user-setup/
debconf: <-- 0 true
debconf: --> GET anna/retriever
debconf: <-- 0 cdrom-retriever
anna-install: Installing crypto-modules
debconf: --> CAPB backup
debconf: <-- 0 multiselect backup progresscancel align plugin-terminal plugin-
debconf: --> GET anna/retriever
debconf: <-- 0 cdrom-retriever
user-setup: watching '/run/udev' failed
udevadm[1670]: watching '/run/udev' failed
user-setup: INFO: Setting up swap: [/dev/sda5]
user-setup: WARNING: Commented out your unencrypted swap from /etc/fstab
user-setup: INFO: Successfully setup encrypted swap!
debconf: --> GET passwd/username
debconf: <-- 0 ubuntu
debconf: --> GET passwd/
debconf: <-- 0 ubuntu
user-setup: Adding user `ubuntu' ...
user-setup: Adding new group `ubuntu' (1000) ...
groupadd[1704]: group added to /etc/group: name=ubuntu, GID=1000
groupadd[1704]: group added to /etc/gshadow: name=ubuntu
groupadd[1704]: new group: name=ubuntu, GID=1000
user-setup: Adding new user `ubuntu' (1000) with group `ubuntu' ...
useradd[1708]: new user: name=ubuntu, UID=1000, GID=1000, home=/home/ubuntu, shell=/bin/bash
user-setup: Creating home directory `/home/ubuntu' ...
user-setup: Setting up encryption ...
user-setup: ERROR: Cannot get ecryptfs version, ecryptfs kernel module not loaded?
user-setup: adduser: `/usr/bin/
Full syslog attached
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: user-setup (not installed)
ProcVersionSign
Uname: Linux 3.0.0-8-generic i686
Architecture: i386
Date: Tue Aug 16 10:59:10 2011
EcryptfsInUse: Yes
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: user-setup
UpgradeStatus: Upgraded to oneiric on 2011-07-12 (34 days ago)
Changed in linux (Ubuntu Oneiric): | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu Oneiric): | |
milestone: | none → ubuntu-11.10-beta-1 |
This is actually a kernel bug. ecryptfs is supposed to be built-in, but for some reason has turned into a module.