Attaching a patch that solves this in deluser.  Basically, we do a
'find' on /var/lib/ecryptfs/$user as well, and add those to the
files/dirs to be removed.  Note that there is a regex list of prohibited
dirs that matches on "/var", so I added an exception condition for
/var/lib/ecryptfs/$user.

Patch attached.  I'm requesting some review of someone with more
adduser/deluser expertise than I ;-)

:-Dustin

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

** Attachment added: "out.diff"
   http://launchpadlibrarian.net/24314131/out.diff

-- 
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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to