← Back to team overview

ecryptfs team mailing list archive

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

 

This was uploaded with a wedged changelog, and thus no auto-closing:

+adduser (3.110ubuntu5) jaunty; urgency=low
+
+  * deluser: reworked previous upload slightly, per feedback from cjwatson,
+    should make the "rm /var/lib/ecryptfs/$user" code easier to read;
+    revert $version corruption (oops)
+
+ -- Dustin Kirkland <kirkland@xxxxxxxxxx>  Fri, 27 Mar 2009 17:12:09 -0500
+
+adduser (3.110ubuntu4) jaunty; urgency=low
+
+  * deluser: remove all of /var/lib/ecryptfs/$user, if deluser --remove-home
+    is specified, LP: #347970
+
+ -- Dustin Kirkland <kirkland@xxxxxxxxxx>  Tue, 24 Mar 2009 13:54:50 -0500
+

Thanks Dustin!

** Changed in: adduser (Ubuntu)
       Status: In Progress => Fix Released

-- 
deluser --remove-home leaves /var/lib/ecryptfs/<username> 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” source package in Ubuntu: Fix Released
Status in “ecryptfs-utils” source package in Ubuntu: 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