← Back to team overview

ecryptfs team mailing list archive

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

 

released in -74

** Changed in: ecryptfs
       Status: Fix Committed => Fix Released

-- 
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 Released
Status in “adduser” source package in Ubuntu: Invalid
Status in “ecryptfs-utils” source package in Ubuntu: Fix Released

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