ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00332
[Bug 299216] Re: ecryptfs-utils "ecryptfs-umount-private" don't work
I moved much more robust instance counting code into
mount.ecryptfs_private and umount.ecryptfs_private themselves. They
keep track of successful and unsuccessful mounts in a tempfile.
The 'whoami' code was flimsy and buggy, and never quite worked
correctly. And with a better built-in counter, completely
unnecessary. It should have been removed weeks ago, but I forgot.
Thanks for the report, closing.
:-Dustin
** Changed in: ecryptfs-utils (Ubuntu)
Status: New => Fix Released
--
ecryptfs-utils "ecryptfs-umount-private" don't work
https://bugs.launchpad.net/bugs/299216
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: Fix Released
Bug description:
Binary package hint: ecryptfs-utils
Intrepid Ibex - last updated
Kernel 2.6.27-7-generic
Gnome-Desktop 2.24
Using the command "ecryptfs-umount-private" in an user-terminal nothing will change.
It's seeming to me a failure occures inside /usr/bin/ecryptfs-umount-private at these two lines
count=`who | grep "^$username " | wc -l`
if [ $count -le 1 ]; then
If I added a >!< as follows, the command is still working well
count=`who | grep "^$username " | wc -l`
if [ ! $count -le 1 ]; then
due to >$count< is always >2< in a single user System, but I'm not so experienced to make the decission, what has to be rewritten.
The command "ecryptfs-mount-private" works fine!!
References