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.
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