[pkg-gnupg-maint] Bug#1101471: starting of agent for system accounts is inacceptable

Marc Haber mh+debian-packages at zugschlus.de
Fri Mar 28 19:28:08 GMT 2025


On Fri, Mar 28, 2025 at 07:22:22PM +0100, Andreas Metzler wrote:
>On 2025-03-28 Marc Haber <mh+debian-packages at zugschlus.de> wrote:
>> from the README:
>> |Since 2.1.17, users on machines with systemd will have their gpg-agent
>> |process launched automatically by systemd's user session, upon first
>> |access of any of the expected gpg-agent sockets (including the ssh
>> |socket).  systemd will also cleanly tear this process down at session
>> |logout.
>
>> I find that inacceptable at least for system accounts. The suggested
>> remedy is to manually mask four systemd units inside every single
>> account.
>[...]
>
>Hello Marc,
>
>I am a little bit too slow right now to wade through systemd's
>documentation but afaiui systemd's user sessions happen on login, which
>usually is disabled for system accounts.

It, for example, happens for the account that my ansible is running 
against.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



More information about the pkg-gnupg-maint mailing list