← Back to team overview

ecryptfs team mailing list archive

[Bug 347970] Re: deluser --remove-home leaves /var/lib/ecryptfs/<username> behind

 

This was fixed several months ago.

adduser (3.110ubuntu6) karmic; urgency=low

  * deluser: add logic to prune new location of ecryptfs config data,
    in /home/.ecryptfs/$user

 -- Dustin Kirkland <kirkland@xxxxxxxxxx>  Mon, 03 Aug 2009 12:49:04
+0100


Please verify the functionality next time, before reopening the bug.



** Also affects: adduser (Ubuntu Jaunty)
   Importance: Undecided
       Status: New

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

** Also affects: adduser (Ubuntu Karmic)
   Importance: Low
     Assignee: Dustin Kirkland (kirkland)
       Status: Triaged

** Also affects: ecryptfs-utils (Ubuntu Karmic)
   Importance: Low
     Assignee: Dustin Kirkland (kirkland)
       Status: Invalid

** Changed in: adduser (Ubuntu Jaunty)
       Status: New => Fix Released

** Summary changed:

- deluser --remove-home leaves /var/lib/ecryptfs/<username> behind
+ deluser --remove-home leaves ecryptfs data behind

** Changed in: ecryptfs-utils (Ubuntu Jaunty)
       Status: New => Invalid

** Changed in: adduser (Ubuntu Karmic)
       Status: Triaged => Fix Released

-- 
deluser --remove-home leaves ecryptfs data behind
https://bugs.launchpad.net/bugs/347970
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “adduser” package in Ubuntu: Fix Released
Status in “ecryptfs-utils” package in Ubuntu: Invalid
Status in adduser in Ubuntu Jaunty: Fix Released
Status in ecryptfs-utils in Ubuntu Jaunty: Invalid
Status in adduser in Ubuntu Karmic: Fix Released
Status in ecryptfs-utils in Ubuntu Karmic: Invalid

Bug description:
Binary package hint: adduser

On experimenting with encrypted home directories, I repeatedly added and removed users with encrypted home directories (had to do that because of bug 347969).

It occurred to me that "deluser --remove-home foo" followed by "adduser --encrypt-home foo" doesn't work, because deluser leaves /var/lib/ecryptfs/foo behind.

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