ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00893
[Bug 350089] Re: package ecryptfs-utils 73-0ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
The code that checks this is the following:
# Check home directories
for i in `ls /home`; do
if [ -d "/home/$i/.ecryptfs" ]; then
# If we find a .ecryptfs directory (or link) in a home,
# directory, then someone is using ecryptfs-utils, and
# we should not allow package removal
echo "ERROR: Cannot remove ecryptfs-utils, as it appears to be in use:" 1>&2
echo " [/home/$i/.ecryptfs]" 1>&2
exit 1
fi
done
The goal here is to prevent an administrator from inadvertently removing
ecryptfs-utils, in case one of her users is actually using ecryptfs. Of
course, the administrator has the ability to 'rm -rf
/home/$i/.ecryptfs', if that's the appropriate action.
:-Dustin
--
package ecryptfs-utils 73-0ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
https://bugs.launchpad.net/bugs/350089
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
Status in ecryptfs-utils in Ubuntu Jaunty: Triaged
Bug description:
Binary package hint: ecryptfs-utils
The crash notification appeared after ubuntu installer had crashed.
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess pre-removal script returned error exit status 1
Package: ecryptfs-utils 73-0ubuntu1
SourcePackage: ecryptfs-utils
Title: package ecryptfs-utils 73-0ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686
References