Bug#771558: gnome-settings-daemon deletes ssh-agent's and gpg-agent's sockets

Ben Hutchings ben at decadent.org.uk
Sun Jan 15 17:09:39 UTC 2017


Control: forcemerge -1 851500

On Sun, 30 Nov 2014 19:20:05 +0100 Alexander Bessman <alexander.bessman at gmail.com> wrote:
> Package: gnome-settings-daemon
> Version: 3.14.2-1
> Severity: important
> Tags: upstream
> 
> Dear Maintainer,
> 
> ssh-agent and gpg-agent stores sockets in /tmp, which must be session
> persistent in order for these applications to function correctly. However,
> after several hours of system uptime gnome-settings-daemon deletes these
> sockets. At this point, keys managed by ssh-agent and gpg-agent cannot be
> used, and ssh-agent and gpg-agent must be restarted to become functional
> again, and keys must be re-added.
> 
> I confirmed that gnome-settings-daemon is indeed responsible for deleting
> these sockets by watching ssh-agent's socket with auditd. Excerpt from
> /var/log/audit/audit.log follows below:
[...]

gnome-settings-daemon has a tmp-cleaner controlled through GNOME's
Privacy settings.  But as you can see, its expiry logic is broken.  You
could turn it off and use other means to clean /tmp and /var/tmp.

Ben.

-- 
Ben Hutchings
Hoare's Law of Large Problems:
        Inside every large problem is a small problem struggling to get
out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170115/1341660f/attachment.sig>


More information about the pkg-gnome-maintainers mailing list