← Back to team overview

ecryptfs team mailing list archive

Re: [Bug 340321] [NEW] getting error report while setting up new user with "adduser --encrypt-home"

 

On Mon, Mar 9, 2009 at 11:00 PM, DieB <a.saefkow@xxxxxxxxxxxxxx> wrote:
> "ERROR: /home/$user must be empty before proceeding
> adduser: "/usr/bin/ecryptfs-setup-private -b -u $user" gave back  error-code 1"

Is /home/$user actually empty?

Are you sure that you're creating a new user?  Or are you perhaps
trying to add a user that already exists?  Or has a home directory
that already exists?

You might need to delete the existing user, and/or remove the home
directory.

:-Dusitn

-- 
getting error report while setting up new user with "adduser --encrypt-home"
https://bugs.launchpad.net/bugs/340321
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: New

Bug description:
after installataion of jaunty failed with alpha3 + encrypted home, i installed it with normal home.
after that (and update to current state) i wanted to set up a new user with "adduser --encrypt-home $user" buit i got following error report:
"ERROR: /home/$user must be empty before proceeding
adduser: "/usr/bin/ecryptfs-setup-private -b -u $user" gave back  error-code 1"

although trying the procedure reported in bug 309541 is not helping.

i'm willing to help make it work ;)

lsb_release -rd:
Description:	Ubuntu jaunty (development branch)
Release:	9.04

apt-cache policy ecryptfs-utils:
ecryptfs-utils:
  Installiert: 71-0ubuntu2
  Kandidat: 71-0ubuntu2
  Versions-Tabelle:
 *** 71-0ubuntu2 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

apt-cache policy adduser:
  Installiert: 3.110ubuntu2
  Kandidat: 3.110ubuntu2
  Versions-Tabelle:
 *** 3.110ubuntu2 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status



References