Unnecessary "Already mounted" message printed at login
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.
Confirming, and patching now.
:-Dustin