ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00591
[Bug 331085] Re: prevent ecryptfs-utils from being uninstalled if in use
I'm attaching a debdiff here. I'd really like some comments from Colin
before I commit this...
I've tested that this prerm script does in fact prevent the removal of ecryptfs-utils if any of the following are true:
a) there's an active ecryptfs mount
b) there's an ecryptfs filesystem in /etc/fstab
c) there's at least one user with a .ecryptfs directory in /home
I don't think is necessarily comprehensive, but it should catch the vast
majority of situations.
:-Dustin
** Changed in: ecryptfs-utils (Ubuntu)
Status: Triaged => In Progress
** Attachment added: "331085.debdiff"
http://launchpadlibrarian.net/23052247/331085.debdiff
--
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: In Progress
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