[pkg-gnupg-maint] Bug#852697: Bug#852697: gnupg-agent: automatically starts gpg-agent in root user slice

Laurent Bonnaud L.Bonnaud at laposte.net
Fri Jan 27 10:54:59 UTC 2017


On 27/01/2017 01:05, Daniel Kahn Gillmor wrote:

> Does the agent process appear as soon as you log in?

No, it appears when I run "apt update".

I had a similar problem with gvfs (see bug #852696) but in the case of gpg-agent the logs give less information about which apt add-on is responsible:

Jan 27 10:53:26 hostname gpg-agent[1816]: gpg-agent (GnuPG) 2.1.18 starting in supervised mode.
Jan 27 10:53:26 hostname gpg-agent[1816]: using fd 3 for ssh socket (/run/user/0/gnupg/S.gpg-agent.ssh)
Jan 27 10:53:26 hostname gpg-agent[1816]: using fd 4 for browser socket (/run/user/0/gnupg/S.gpg-agent.browser)
Jan 27 10:53:26 hostname gpg-agent[1816]: using fd 5 for extra socket (/run/user/0/gnupg/S.gpg-agent.extra)
Jan 27 10:53:26 hostname gpg-agent[1816]: using fd 6 for std socket (/run/user/0/gnupg/S.gpg-agent)
Jan 27 10:53:26 hostname gpg-agent[1816]: listening on: std=6 extra=5 browser=4 ssh=3

Here is what my system has in its apt config:

/etc/apt/apt.conf.d:
total 136
-rw-r--r-- 1 root root  769 Nov 27  2015 01autoremove
-r--r--r-- 1 root root 2677 Jan 24 15:42 01autoremove-kernels
-rw-r--r-- 1 root root  628 May  6  2015 01autoremove-postgresql
-rw-r--r-- 1 root root  369 Aug  1 21:58 05etckeeper
-rw-r--r-- 1 root root  430 Jan  1  2014 10apt-listbugs
-rw-r--r-- 1 root root  196 Jul 25  2015 11daptup
-rw-r--r-- 1 root root  420 Jan 17  2014 20adequate
-rw-r--r-- 1 root root  164 Jan 21  2015 20apt-show-versions
-rw-r--r-- 1 root root   80 Apr 29  2016 20auto-upgrades
-rw-r--r-- 1 root root  202 Dec 22 17:41 20listchanges
-rw-r--r-- 1 root root 1040 Jun  7  2015 20packagekit
-rw-r--r-- 1 root root  258 Jan 22 18:59 20services
-rw-r--r-- 1 root root  131 Jun 26  2015 35dhelp
-rw-r--r-- 1 root root 1488 Jan 26 23:08 50appstream
-rw-r--r-- 1 root root 1953 Nov  6 16:03 50apt-file.conf
-rw-r--r-- 1 root root  297 Nov 22  2014 50spacewalk
-rw-r--r-- 1 root root 4259 May 26  2016 50unattended-upgrades
-rw-r--r-- 1 root root  307 Sep 23 13:18 50whatmaps_apt
-rw-r--r-- 1 root root  354 Jan 19 19:13 60gnome-software
-rw-r--r-- 1 root root  458 Jan 19 18:36 60plasma-discover
-rw-r--r-- 1 root root  182 Mar 19  2015 70debconf
-rw-r--r-- 1 root root  142 Aug  9 13:55 80debtags
-rw-r--r-- 1 root root  266 Mar  7  2016 90junior-config
-rw-r--r-- 1 root root  254 Sep  1  2015 90med-config
-rw-r--r-- 1 root root  286 Jul  4  2016 90rkhunter
-rw-r--r-- 1 root root  270 Mar 29  2015 90science-config
-rw-r--r-- 1 root root  160 Nov 24  2012 90zope-common
-rw-r--r-- 1 root root  129 May  4  2016 99apt-dater-host_periodic
-rw-r--r-- 1 root root  160 May 10  2016 99how-can-i-help
-rw-r--r-- 1 root root  231 Jan  1  2014 99-localepurge
-rw-r--r-- 1 root root  338 Jan 17 16:03 99needrestart
-rw-r--r-- 1 root root   32 Jan 24 17:53 99synaptic
-rw-r--r-- 1 root root   43 Jan 29  2016 overwrite

I'll try to isolate the responsible package as time permits...

-- 
Laurent.



More information about the pkg-gnupg-maint mailing list