Comment 15 for bug 14814

Revision history for this message
Mario Vukelic (kreuzsakra) wrote :

I woud like to have the bug reopened, because I don't think it's a user config
problem, but rather a bug in seahorse (possibly only in an older version). I run
up-to-date Dapper, the machine was upgraded from Breezy, and before that from
Hoary, with all changes applied as per the release notes.

Before I installed Seahorse, gpg worked fine in Evolution. Then I installed
Seahorse, added seahorse-agent to the session, and gpg continued to work fine in
Evo, but with the seahorse agent.
At one point (during Breezy) I removed Seahorse (including session entry) for
some reason, and gpg stopped working in Evo, with the error message mentioned by
the original submitter. Since I didn't really care one way or the other, I
reinstalled seahorse, and then it worked again.

Now I again wanted to remove seahorse, same result. Investigation shows that:

* Indeed there are the entries "use-agent" and "gpg-agent-info
/home/mario/.gnome2/seahorse-kbMJf4/S.gpg-agent:8477:1" in gpg.conf.
But I didn't put them there for sure, and since the second one references
seahorse, this is the only application that reasonably can have put it there.

* I have a whole bunch of files named S.gpg-agent in directories that were named
like the one referenced in gpg.conf above, ~/.gnome2/seahorse-<random>.
When I try to rm the files I get the error, "cannot remove <file> no such file
or directory". The file command I used to check for the type of file says that
those are sockets.
There are ca. 40 of these directories, plus
A directory ~/.gconf/apps/seahorse with gconf stuff inside
A config file ~/.gnome2/accels/seahorse which is a "automated accelerator map
dump" for GtkAccelMap by seahorse
A .desktop file in ~/.local/share/applications/seahorse-usercustom.desktop

Removing the use-agent and gpg-agent-info lines from gpg.conf fixes the gpg
error in Evo, but I am sure seahorse messed it up.