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 576455 - leaves crufty sockets in /tmp on exit
leaves crufty sockets in /tmp on exit
Status: RESOLVED DUPLICATE of bug 351087
Product: system-monitor
Classification: Core
Component: general
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-23 17:21 UTC by Josselin Mouette
Modified: 2012-07-24 20:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Josselin Mouette 2009-03-23 17:21:32 UTC
[ Original report: http://bugs.debian.org/515873 from Paul Wise ]

gnome-system-monitor leaves sockets named like this behind on exit:

/tmp/gnome-system-monitor.<user>.<num>
Comment 1 Robert Roth 2011-11-14 20:29:51 UTC
I can confirm this using System Monitor 3.2.1, setting the status to New.
Comment 2 Chris Kühl 2011-11-14 23:31:34 UTC
I (In reply to comment #1)
> I can confirm this using System Monitor 3.2.1, setting the status to New.

I believe your patch for bug #646393 fixes this. Can you confirm?
Comment 3 Robert Roth 2011-11-15 04:52:29 UTC
No, that patch doesn't fix this. That only changes the location of the socket file, now it is left in the XDG user runtime dir, defaulting to $HOME/.cache/gnome-system-monitor.<user>.<num>. This should be removed when quitting the application. Or it would be even better to have a properly working GtkApplication c++ class, which would eliminate the need for libbacon. See bug 351087 for more details.
Comment 4 Chris Kühl 2011-11-15 08:55:10 UTC
(In reply to comment #3)
> No, that patch doesn't fix this. That only changes the location of the socket
> file, now it is left in the XDG user runtime dir, defaulting to
> $HOME/.cache/gnome-system-monitor.<user>.<num>.

Yes, I realize this but at least it doesn't clutter up the /tmp/directory.

This should be removed when
> quitting the application. Or it would be even better to have a properly working
> GtkApplication c++ class, which would eliminate the need for libbacon. See bug
> 351087 for more details.

Yes, I agree. That's why I wasn't really concerned about this bug nor Bug #646393. Both will be taken care of with a move to GtkApplication. I'll see if I can use the C api for GtkApplication to do this.
Comment 5 Robert Roth 2012-07-24 20:31:50 UTC
As fixing 351087 by migrating to GtkApplication will fix this, I am marking this as a duplicate of that bug.

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