FS#26271 - [gnutls][gnome-keyring] Annoying warning in programs using gnutls when gnome-keyring is installed

Attached to Project: Arch Linux
Opened by Thomas Jost (Schnouki) - Wednesday, 05 October 2011, 08:29 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 21 December 2011, 19:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

I'm not using Gnome but I had gnome-keyring installed on my system.

When running msmtp, the following message was always displayed:

WARNING: no socket to connect to

(even when just using "msmtp -S" to get information about the server it's connecting to). When sending a mail with Emacs, this causes Emacs to believe that there was an error and that the message wasn't sent properly, even if it *was* actually sent without any error.

The same message apparently appears in aria2: https://bbs.archlinux.org/viewtopic.php?pid=999417
And this is not Arch-specific: http://www.digipedia.pl/usenet/thread/18916/3987/

By running "strace msmtp -S", I got the following log:

open("/etc/pkcs11/pkcs11.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/pkcs11/modules", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
...
open("/etc/pkcs11/modules/gnome-keyring-module", O_RDONLY) = 5
...
open("/usr/lib/pkcs11/gnome-keyring-pkcs11.so", O_RDONLY) = 4
...
write(2, "WARNING: no socket to connect to"..., 33) = 33

The message disappeared as soon as I uninstalled gnome-keyring. But people who actually use Gnome may need a better solution.

Additional info:
* gnutls 3.0.3-1, gnome-keyring 3.2.0-1, msmtp 1.4.24-3
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 21 December 2011, 19:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnome-keyring 3.2.2-3
Comment by Arvid Norlander (AnMaster) - Saturday, 08 October 2011, 19:04 GMT
I get this issue with the IPv6 tunnel endpoint software aiccu (from AUR). Had to uninstall gnome-keyring to make it work.
Comment by Ionut Biru (wonder) - Saturday, 08 October 2011, 21:15 GMT
any of you actually reported upstream to p11-kit?
Comment by Thomas Jost (Schnouki) - Monday, 10 October 2011, 08:28 GMT
No(t yet), because I wan't sure if the bug is in gnutls or gnome-keyring, and I had never heard of p11-kit before you mentioned it. Besides, I found "no socket to connect to" in the output of "strings /usr/lib/pkcs11/gnome-keyring-pkcs11.so" but not in /usr/lib/libp11-kit.so.
Comment by Ionut Biru (wonder) - Monday, 10 October 2011, 08:29 GMT
even is a gnome-keyring problem, both projects are maintained by the same developer
Comment by Ionut Biru (wonder) - Friday, 16 December 2011, 13:46 GMT Comment by Ionut Biru (wonder) - Monday, 19 December 2011, 12:46 GMT
can you please test this packages and let me know if you still have this problem?

http://pkgbuild.com/~ioni/gnome-keyring/
Comment by Matthew Reschke (mreschke) - Wednesday, 21 December 2011, 18:50 GMT
oh heck yeah Ionut, your 3.2.2-3 package works for me, I use aria2 for pacman, been hating that stupid error for months now, messing up my nice custom output :)

Loading...