GNOME Bugzilla – Bug 573691
Gnome-keyring logs status messages to ~/.xsession-errors
Last modified: 2009-03-20 18:47:24 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
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?
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.
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.
Thanks.