← Back to team overview

ecryptfs team mailing list archive

[Bug 331085] Re: prevent ecryptfs-utils from being uninstalled if in use

 

>From #ubuntu-installer...

Feb 17 17:02:34 <cjwatson>      kirkland: so, to summarise, exiting in 'prerm remove' is the right answer and you should do it
...
Feb 17 17:03:18 <cjwatson>      kirkland: you should do it as early as possible in 'prerm remove' before cleaning up anything else (if applicable). If you do it after something else, make sure that 'postinst abort-remove' undoes it.


:-Dustin

** Changed in: ecryptfs-utils (Ubuntu)
   Importance: Undecided => High
     Assignee: (unassigned) => Dustin Kirkland (kirkland)
       Status: New => Triaged

-- 
prevent ecryptfs-utils from being uninstalled if in use
https://bugs.launchpad.net/bugs/331085
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Triaged

Bug description:
Binary package hint: ecryptfs-utils

It's very easy to do:
 $ sudo apt-get remove ecryptfs-utils

In Ubuntu jaunty, if your account is set up with an encrypted home directory, this will make it impossible (okay, very, very difficult) to even log in to your system.

The ecryptfs-utils packaging needs a prerm check to determine if ecryptfs-utils is in use, before allowing the remove to continue.

:-Dustin



References