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

Michael Jones mj at mikejonesey.co.uk
Thu Feb 9 10:28:44 UTC 2017


On Sun, 5 Feb 2017 11:21:58 +0100 Laurent Bonnaud
<L.Bonnaud at laposte.net> wrote:
> On 05/02/2017 10:08, Daniel Kahn Gillmor wrote:
> 
> > Were you able to isolate what's launching the process?
> 
> Yes I finally took the time to test all apt hooks and found the cause: it is 
> /etc/apt/apt.conf.d/11daptup from package daptup.
> 
> Should I reassign the bug?
> 
> > 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?
> 
> It is more complicated than that: since I have cron-apt on my system, a new gpg-agent process is spawned automatically each night and does not go away.
> 
> -- 
> Laurent.
> 
> 

I also can't ssh, it seems the gpg-agent no longer looks at
"/home/mike/.gnupg/gpg-agent.conf", does not find "enable-ssh-support",
and starts the gpg agent without ssh support as;

mike      1717     1  0 10:09 ?        00:00:00 /lib/systemd/systemd --user
...
mike      3275  1717  0 10:23 ?        00:00:00  \_ /usr/bin/gpg-agent
--supervised

Kind Regards,
Mike



More information about the pkg-gnupg-maint mailing list