[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-users
Subject: Re: gpg-agent 2.1 persistent socket between sessions
From: Laurent Lavaud <laurent.lavaud () ladtech ! fr>
Date: 2017-10-26 7:21:35
Message-ID: 691515915.5936.1509002495935.JavaMail.zimbra () ladtech ! fr
[Download RAW message or body]
Ok great enabling lingering works, i don't know why but on previous Ubuntu version \
lingering is not enabled but the /run/user/PID folder was not cleaned...
Thanks !
----- Original Message -----
From: "Kostis Anagnostopoulos" <ankostis@gmail.com>
To: "Laurent Lavaud" <laurent.lavaud@ladtech.fr>
Cc: "GNUPG-Users" <gnupg-users@gnupg.org>
Sent: Wednesday, October 25, 2017 11:21:34 PM
Subject: Re: gpg-agent 2.1 persistent socket between sessions
On 25 October 2017 at 12:27, Laurent Lavaud <laurent.lavaud@ladtech.fr> wrote:
> Hello,
>
> I would like to know what is the correct way to get a gpg-agent 2.1 persistent \
> socket between session ?
> I have some cronjob that must use a key stored in the agent.
>
> Actually the first time a gpg-agent is launch, it create a socket in \
> /run/user/PID/gnupg/ but when i logout this folder is cleaned by systemd and then \
> if i come back i can't reconnect to the running gpg-agent because the socket has \
> disapear...
Have you tried to tell `systemd` to "linger" your user account?
https://askubuntu.com/a/859583/251379
Best,
Kostis
>
> This problem appears since i uprade to Ubuntu 17.10, it seems before systemd don't \
> clean the /run/user/PID folder so the socket persist between session. I don't think \
> it is an Ubuntu bug, it seems to be a normal behavior that systemd clean this \
> folder so how i could get a persistent socket for my gpg-agent ?
> thanks in advance for your help.
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic