← Back to team overview

ecryptfs team mailing list archive

[Bug 347969] Re: adduser --encrypt-home fails in German locale

 

Bug is in ecryptfs-utils, not adduser.  I'm committing a fix upstream,
marking invalid against adduser, and appropriately against ecryptfs-
utils.

I'll upload to ubuntu when the beta freeze ends.

:-Dustin

** Changed in: adduser (Ubuntu)
       Status: New => Invalid

** Also affects: ecryptfs-utils (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ecryptfs-utils (Ubuntu)
   Importance: Undecided => Low

** Changed in: ecryptfs-utils (Ubuntu)
       Status: New => In Progress

** Changed in: ecryptfs-utils (Ubuntu)
     Assignee: (unassigned) => Dustin Kirkland (kirkland)

** Also affects: ecryptfs
   Importance: Undecided
       Status: New

-- 
adduser --encrypt-home fails in German locale
https://bugs.launchpad.net/bugs/347969
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: Fix Committed
Status in “adduser” source package in Ubuntu: Invalid
Status in “ecryptfs-utils” source package in Ubuntu: In Progress

Bug description:
Binary package hint: adduser

On a clean install:

$ echo $LANG
de_DE.UTF-8

$ sudo adduser --encrypt-home foo
[sudo] password for martin: 
Lege Benutzer »foo« an ...
Lege neue Gruppe »foo« (1001) an ...
Lege neuen Benutzer »foo« (1001) mit Gruppe »foo« an ...
Erstelle Home-Verzeichnis »/home/foo« ...
Setting up encryption ...
ERROR: /home/foo must be empty before proceeding
adduser: »/usr/bin/ecryptfs-setup-private -b -u foo« gab den Fehlercode 1 zurück. Programmende.

$ sudo ls -laR /home/foo
/home/foo:
insgesamt 8
drwxr-xr-x 2 foo  foo  4096 2009-03-24 16:42 .
drwxr-xr-x 4 root root 4096 2009-03-24 16:42 ..
lrwxrwxrwx 1 root root   21 2009-03-24 16:42 .ecryptfs -> /var/lib/ecryptfs/foo

This works perfectly well with "sudo LANG= adduser --encrypt-home foo", so I guess it does some string parsing which fails with translations perhaps?

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: adduser 3.110ubuntu3
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: adduser
Uname: Linux 2.6.28-11-generic i686