[pkg-gnupg-maint] Bug#850982: Bug#850982: Exact command to globally disable gpg-agent user service?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Feb 20 20:27:56 UTC 2017


On Sun 2017-02-19 21:20:52 -0500, Michael[tm] Smith wrote:
> "Michael[tm] Smith" <mike at w3.org>, 2017-02-20 11:11 +0900:
>> 
>> Can you confirm what the exact command is for globally disabling the gpg-agent
>> user service? Is it the following?
>> 
>> systemctl --global --user mask --now gpg-agent.service gpg-agent.socket gpg-agent-ssh.socket gpg-agent-extra.socket gpg-agent-browser.socket
>
> Actually I guess that’s wrong and it should instead be the following, right?
>
> systemctl --global mask --now gpg-agent.service gpg-agent.socket gpg-agent-ssh.socket gpg-agent-extra.socket gpg-agent-browser.socket

Yes, look at the per-user command in
/usr/share/doc/gnupg-agent/README.Debian and replace --user with
--global.

If you're using systemd, i don't think doing this is a good idea, and if
you find problems with managing gpg-agent on a system that you've
configured like this, i'll probably be grumpy about supporting it.

If you think it's a good idea for some reason, i'd really like to
understand what that reason is so we can fix it.

You understand that no daemon is launched at all if no process ever
tries to use the agent, right?

      --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/20170220/056b3cf1/attachment.sig>


More information about the pkg-gnupg-maint mailing list