adduser --encrypt-home fails in German locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Fix Released
|
Medium
|
Dustin Kirkland | ||
adduser (Ubuntu) |
Invalid
|
Undecided
|
Dustin Kirkland | ||
ecryptfs-utils (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland |
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/
$ 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/
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
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: adduser
Uname: Linux 2.6.28-11-generic i686
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