After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 573691 - Gnome-keyring logs status messages to ~/.xsession-errors
Gnome-keyring logs status messages to ~/.xsession-errors
Status: RESOLVED NOTABUG
Product: gnome-keyring
Classification: Core
Component: general
2.25.x
Other Linux
: Normal minor
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-03-01 23:42 UTC by Andreas Moog
Modified: 2009-03-20 18:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Andreas Moog 2009-03-01 23:42:49 UTC
Reported on Launchpad:
https://bugs.launchpad.net/bugs/335864

Gnome-keyring logs those two messages to ~/.xsession-errors:

GNOME_KEYRING_SOCKET=/tmp/keyring-***/socket
SSH_AUTH_SOCK=/tmp/keyring-***/socket.ssh

I don't expect to see non-warning or non-error messages in ~/.xsession-errors.

gnome-keyring:
  Installed: 2.25.91-0ubuntu1
  Candidate: 2.25.91-0ubuntu1
  Version table:
 *** 2.25.91-0ubuntu1 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
Comment 1 Stef Walter 2009-03-01 23:53:31 UTC
gnome-keyring-daemon (like ssh-agent and other daemons) print out environment variables relevant to the session on stdout. Scripts and other users expect these environment variables to be printed. 

When does this become a problem? Could you give more details?
Comment 2 Hernando Torque 2009-03-02 00:19:57 UTC
I'm not saying that logging those lines is wrong but logging them to ./xsession-errors is. Messages that aren't about errors or warnings are nothing but noise in a file dedicated to errors and warnings.
Comment 3 Stef Walter 2009-03-17 23:55:40 UTC
gnome-keyring-daemon is not logging those lines as errors. 

Ubunto seems to be sending stdout to ~/.xsession-errors, this may be a design choice of theirs. If you'd like to see it changed, please file a bug with your linux distro.

Comment 4 Hernando Torque 2009-03-20 18:47:24 UTC
Thanks.