Unnecessary "Already mounted" message printed at login

Bug #277343 reported by Andy Brody
2
Affects Status Importance Assigned to Milestone
eCryptfs
Fix Released
Low
Dustin Kirkland 
ecryptfs-utils (Ubuntu)
Fix Released
Low
Dustin Kirkland 

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.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Confirming, and patching now.

:-Dustin

Changed in ecryptfs-utils:
assignee: nobody → kirkland
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Patch attached. Also fixes Bug #257984.

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Patch attached. Also fixes Bug #257984.

:-Dustin

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ecryptfs-utils - 53-1ubuntu9

---------------
ecryptfs-utils (53-1ubuntu9) intrepid; urgency=low

  * debian/patches/35-silence_useless_mount_messages.dpatch: silence error
    messages (LP: #277343)
  * debian/patches/40-zero_out_grep_options.dpatch: zero out GREP_OPTIONS
    (LP: #257984)
  * debian/patches/00list: updated accordingly

 -- Dustin Kirkland <email address hidden> Fri, 03 Oct 2008 12:58:21 -0500

Changed in ecryptfs-utils:
status: In Progress → Fix Released
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

This patch should be applied to upstream ecryptfs-utils.

:-Dustin

Changed in ecryptfs:
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Patch attached.

Revision history for this message
Andy Brody (abrody) wrote :

That was fast! Thanks.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :
Changed in ecryptfs:
assignee: nobody → kirkland
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.