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

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Feb 5 09:08:04 UTC 2017


On Fri 2017-01-27 05:54:59 -0500, Laurent Bonnaud wrote:

> 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...

hm, i don't see the process get created, and i've got the following in
/etc/apt/apt.conf.d/:

-rw-r--r-- 1 root root   40 Dec 10  2012 00trustcdrom
-rw-r--r-- 1 root root  769 Nov 30  2015 01autoremove
-r--r--r-- 1 root root 2053 Jan 24 15:29 01autoremove-kernels
-rw-r--r-- 1 root root  628 Sep  9  2013 01autoremove-postgresql
-rw-r--r-- 1 root root  164 Oct 26  2012 20apt-show-versions
-rw-r--r-- 1 root root  202 Aug 15 15:55 20listchanges
-rw-r--r-- 1 root root  182 Aug 13  2012 70debconf
-rw-r--r-- 1 root root  142 Oct  5  2014 80debtags

Were you able to isolate what's launching the process?

btw, that gpg-agent process is a systemd user service.  when root fully
logs out of the machine, that user service should also terminate.
perhaps its running might cause you less worry if you know it will get
cleaned up at logout?

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20170205/a469b11e/attachment.sig>


More information about the pkg-gnupg-maint mailing list