prevent ecryptfs-utils from being uninstalled if in use
Bug #331085 reported by
Dustin Kirkland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland |
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
Related branches
To post a comment you must log in.
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