← Back to team overview

ecryptfs team mailing list archive

[Bug 277343] Re: Unnecessary "Already mounted" message printed at login

 

Patch attached.

** Attachment added: "35-silence_useless_mount_messages.dpatch"
   http://launchpadlibrarian.net/18186540/35-silence_useless_mount_messages.dpatch

-- 
Unnecessary "Already mounted" message printed at login
https://bugs.launchpad.net/bugs/277343
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: In Progress
Status in “ecryptfs-utils” source package in Ubuntu: Fix Released

Bug description:
Binary package hint: ecryptfs-utils

Running Ubuntu 8.10 development branch, ecryptfs-utils 53-1ubuntu8

Starting a second login session causes an "Already mounted" message to be printed. This seems confusing and unnecessary to me. I think the auto-mounter should either silently exit or print a more useful message. I can imagine someone thinking, "What's already mounted? Is that bad?"

To reproduce (assuming user is already logged in):

root@box:~# su - user
Already mounted
user@box:~$

The message also appears at the end of the motd for tty logins.

There is a parallel "Not currently mounted" message when logging out if the ~/Private/ directory has already been unmounted, which is similarly vague and confusing without context.