Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 698300

Summary: app-crypt/monkeysphere - left gpg-agent processes
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Kristian Fiskerstrand (RETIRED) <k_f>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2019-10-22 20:26:08 UTC
not sure if it is a bug, at realized at the tinderbox, that this package let left these processes:

$ pgrep -a gpg-agent
30663 gpg-agent --homedir /var/lib/monkeysphere/authentication/core --use-standard-socket --daemon
30696 gpg-agent --homedir /var/lib/monkeysphere/authentication/sphere --use-standard-socket --daemon
31530 gpg-agent --homedir /var/lib/monkeysphere/authentication/core --use-standard-socket --daemon
31549 gpg-agent --homedir /var/lib/monkeysphere/authentication/sphere --use-standard-socket --daemon
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2019-10-24 07:48:49 UTC
Hi Toralf, thanks for your tinderbox efforts :) 

But indeed, in this case it is expected behavior; gpg agent is launched when gpg is invoked and runs until it is killed or the socket dir and/or homedir is cleaned up; which doesn't normally happen in operations, but would happen e.g if  if monkeysphere is uninstalled. During setup monkeysphere actually creates a secret key pair that is used as a trust anchor / root CA at which point is needs gpg-agent (that does all secret key operations in >=2.1)

That said, it is slightly more interesting that it is two processes for each homedir available, but not enough to look into as a bug.