[Bug 827197] Re: /usr/bin/ecryptfs-setup-private fails with exit status 1 during install

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Tue Aug 16 09:07:35 UTC 2011


** Attachment added: "syslog.gz"
   https://bugs.launchpad.net/bugs/827197/+attachment/2282175/+files/syslog.gz

** Also affects: user-setup (Ubuntu Oneiric)
   Importance: Undecided
       Status: New

** Changed in: user-setup (Ubuntu Oneiric)
       Status: New => Triaged

** Changed in: user-setup (Ubuntu Oneiric)
   Importance: Undecided => High

** Changed in: user-setup (Ubuntu Oneiric)
     Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations)

** Summary changed:

- /usr/bin/ecryptfs-setup-private fails with exit status 1 during install
+ /usr/bin/ecryptfs-setup-private fails with exit status 1 during install - User's home directory not encrypted

** Changed in: user-setup (Ubuntu Oneiric)
    Milestone: None => ubuntu-11.10-beta-1

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to user-setup in Ubuntu.
https://bugs.launchpad.net/bugs/827197

Title:
  /usr/bin/ecryptfs-setup-private fails with exit status 1 during
  install - User's home directory not encrypted

Status in “user-setup” package in Ubuntu:
  Triaged
Status in “user-setup” source package in Oneiric:
  Triaged

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/encrypt-home
  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-detect-keyboard
  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/user-fullname
  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/ecryptfs-setup-private -b -u ubuntu' returned error code 1. Exiting.

  Full syslog attached

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: user-setup (not installed)
  ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/user-setup/+bug/827197/+subscriptions




More information about the foundations-bugs mailing list