units: turn off keyring handling for user@.service
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Mar 2019 17:47:28 +0000 (18:47 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 19 Mar 2019 09:58:20 +0000 (10:58 +0100)
This service uses PAM anyway, hence let pam_keyring set things up for
us. Moreover, this way we ensure that the invocation ID is not set for
this service as key, and thus can't confuse the user service's
invocation ID.

Fixes: #11649

units/user@.service.in

index ca98c05..e898b39 100644 (file)
@@ -24,3 +24,4 @@ KillMode=mixed
 Delegate=pids memory
 TasksMax=infinity
 TimeoutStopSec=120s
+KeyringMode=inherit