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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to