adduser --encrypt-home fails in German locale

Bug #347969 reported by Martin Pitt
2
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/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

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in adduser (Ubuntu):
assignee: nobody → kirkland
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

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
Changed in ecryptfs-utils (Ubuntu):
assignee: nobody → kirkland
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Fix committed, r369.

:-Dustin

Changed in ecryptfs:
assignee: nobody → kirkland
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ecryptfs-utils - 73-0ubuntu2

---------------
ecryptfs-utils (73-0ubuntu2) jaunty; urgency=low

  * src/utils/ecryptfs-setup-private: fix bug in grep when running with LANG
    in other locales, LP: #347969, cherry-picked from bzr (r369).

 -- Dustin Kirkland <email address hidden> Tue, 24 Mar 2009 14:38:49 -0500

Changed in ecryptfs-utils:
status: In Progress → Fix Released
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

released in -74

Changed in ecryptfs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.