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 560784 - leaves directory and socket in /tmp
leaves directory and socket in /tmp
Status: RESOLVED DUPLICATE of bug 579738
Product: seahorse
Classification: Applications
Component: Daemon
2.22.x
Other Linux
: Normal normal
: 2.26.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2008-11-14 12:31 UTC by Josselin Mouette
Modified: 2009-11-29 22:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Attaches the uninit function to gtk_quit (1.92 KB, patch)
2008-11-14 15:54 UTC, Adam Schreiber
committed Details | Review

Description Josselin Mouette 2008-11-14 12:31:36 UTC
[ Original report: http://bugs.debian.org/505648 from Paul Wise ]

seahorse doesn't remove its socket and temporary directory on exit, it
leaves /tmp/seahorse-$RAND/S.gpg-agent behind, which is annoying for
people like me who detest cruft and aim to destroy it.
Comment 1 Adam Schreiber 2008-11-14 13:46:13 UTC
This seems to have been fixed a while ago in bug #336491 and I can't replicate it in 2.24 or trunk.  Could you verify with 2.22.x?
Comment 2 Josselin Mouette 2008-11-14 13:59:56 UTC
Yes, I can confirm the issue with 2.22.3-2. I’ll tell you about 2.24 once I have a package ready.
Comment 3 Stef Walter 2008-11-14 14:53:33 UTC
In the race to rid ourselves of libgnome someone deleted this functionality:

http://svn.gnome.org/viewvc/seahorse/seahorse-plugins/trunk/agent/seahorse-agent-main.c?r1=2191&r2=2205&pathrev=2606
Comment 4 Adam Schreiber 2008-11-14 15:54:55 UTC
Created attachment 122668 [details] [review]
Attaches the uninit function to gtk_quit

Stef, I wasn't sure what had changed in your linked diff except the removal of gnome_client died stuff.  This patch attaches the uninit function to gtk_quit which is called when we receive sigterm and sigint.
Comment 5 Stef Walter 2009-03-03 04:10:15 UTC
The gnome_client stuff would notify us when the session was going away. 

Does it fix the problem? If so it looks good to commit.
Comment 6 Adam Schreiber 2009-03-03 19:04:37 UTC
2009-03-03  Adam Schreiber  <sadam@clemson.edu>

    * seahorse-agent.c:
    * seahorse-agent-main.c:
    * seahorse-agent.h: Connect the uninit function to gtk_quit signal.  Fixes
    bug #560784

Committed with a slight change to the cast of seahorse_agent_uninit.

I'll work on the 2.25.92 release this afternoon.
Comment 7 Paul Wise 2009-10-04 11:15:48 UTC
I'm having this issue again with 2.26.2, please reopen this bug report.
Comment 8 Adam Schreiber 2009-10-04 21:20:46 UTC
(In reply to comment #7)
> I'm having this issue again with 2.26.2, please reopen this bug report.

Could you please test with 2.28.x?  I'm not seeing it here.
Comment 9 Paul Wise 2009-10-05 03:36:05 UTC
Once it gets uploaded to Debian, sure.
Comment 10 Paul Wise 2009-11-04 15:35:35 UTC
I still see this problem with seahorse 2.28.1-1 on a Debian testing/squeeze system, please reopen.
Comment 11 Adam Schreiber 2009-11-29 22:40:20 UTC

*** This bug has been marked as a duplicate of bug 579738 ***