GNU bug report logs - #43035
gpg-agent can't find pinentry with linux-libre-5.8.3

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 25 Aug 2020 09:47:01 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43035 in the body.
You can then email your comments to 43035 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#43035; Package guix. (Tue, 25 Aug 2020 09:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 25 Aug 2020 09:47:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: bug-guix <at> gnu.org
Subject: gpg-agent can't find pinentry with linux-libre-5.8.3
Date: Tue, 25 Aug 2020 12:45:45 +0300
[Message part 1 (text/plain, inline)]
This bug report sounds absurd to me but I don't see anything else
obvious that changed. I reconfigured with (kernel linux-libre) and the
gpg-agent couldn't find any pinentry. I even tried killing gpg-agent and
manually launching it and giving it the path to pinentry. I then changed
to (kernel linux-libre-5.7) and used the same commit to reconfigure and
gpg-agent started working as expected again.

I added and removed the qemu-binfmt-service-type before the first
failure with 5.8 and after 5.7 worked. I've attached my os config, and
here's a link¹ to the repo.

(ins)efraim <at> E5400 ~$ guix describe
Generation 58	Aug 24 2020 23:35:45	(current)
  guix c88bccc
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: c88bccc14e29fceb0ac2b139cb5c73546bcee352

¹ https://gitlab.com/Efraim/guix-config/-/tree/25470123d5a87c064f52ec4e0d939928bd22500c


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[E5400_config.scm (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43035; Package guix. (Tue, 25 Aug 2020 20:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 43035 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 43035 <at> debbugs.gnu.org
Subject: Re: bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
Date: Tue, 25 Aug 2020 16:14:59 -0400
[Message part 1 (text/plain, inline)]
On Tue, Aug 25, 2020 at 12:45:45PM +0300, Efraim Flashner wrote:
> This bug report sounds absurd to me but I don't see anything else
> obvious that changed. I reconfigured with (kernel linux-libre) and the
> gpg-agent couldn't find any pinentry. I even tried killing gpg-agent and
> manually launching it and giving it the path to pinentry. I then changed
> to (kernel linux-libre-5.7) and used the same commit to reconfigure and
> gpg-agent started working as expected again.

Weird! You should run gpg-agent with `strace -f` and see where it is
looking.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43035; Package guix. (Mon, 31 Aug 2020 19:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 43035 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Leo Famulari <leo <at> famulari.name>
Cc: 43035 <at> debbugs.gnu.org
Subject: Re: bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
Date: Mon, 31 Aug 2020 22:20:36 +0300
[Message part 1 (text/plain, inline)]
On Tue, Aug 25, 2020 at 04:14:59PM -0400, Leo Famulari wrote:
> On Tue, Aug 25, 2020 at 12:45:45PM +0300, Efraim Flashner wrote:
> > This bug report sounds absurd to me but I don't see anything else
> > obvious that changed. I reconfigured with (kernel linux-libre) and the
> > gpg-agent couldn't find any pinentry. I even tried killing gpg-agent and
> > manually launching it and giving it the path to pinentry. I then changed
> > to (kernel linux-libre-5.7) and used the same commit to reconfigure and
> > gpg-agent started working as expected again.
> 
> Weird! You should run gpg-agent with `strace -f` and see where it is
> looking.

I've attached the strace from gpg-agent when I tried to run 'gpg -s'
^C+d. I'm not really sure what it could be but it looks like I should
boot back into the 5.8.5 kernel generation and strace some more
processes.



-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[gpg-agent.strace.gz (application/x-gunzip, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43035; Package guix. (Mon, 31 Aug 2020 19:34:02 GMT) Full text and rfc822 format available.

Message #14 received at 43035 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 43035 <at> debbugs.gnu.org
Subject: Re: bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
Date: Mon, 31 Aug 2020 15:33:34 -0400
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2020 at 10:20:36PM +0300, Efraim Flashner wrote:
> On Tue, Aug 25, 2020 at 04:14:59PM -0400, Leo Famulari wrote:
> > On Tue, Aug 25, 2020 at 12:45:45PM +0300, Efraim Flashner wrote:
> > > This bug report sounds absurd to me but I don't see anything else
> > > obvious that changed. I reconfigured with (kernel linux-libre) and the
> > > gpg-agent couldn't find any pinentry. I even tried killing gpg-agent and
> > > manually launching it and giving it the path to pinentry. I then changed
> > > to (kernel linux-libre-5.7) and used the same commit to reconfigure and
> > > gpg-agent started working as expected again.
> > 
> > Weird! You should run gpg-agent with `strace -f` and see where it is
> > looking.
> 
> I've attached the strace from gpg-agent when I tried to run 'gpg -s'
> ^C+d. I'm not really sure what it could be but it looks like I should
> boot back into the 5.8.5 kernel generation and strace some more
> processes.

Okay, I'm still stumped. Next time use `strace -fv`, so that it doesn't
abbreviate useful information.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43035; Package guix. (Thu, 03 Sep 2020 11:16:01 GMT) Full text and rfc822 format available.

Message #17 received at 43035 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Leo Famulari <leo <at> famulari.name>
Cc: 43035 <at> debbugs.gnu.org
Subject: Re: bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
Date: Thu, 3 Sep 2020 14:14:47 +0300
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2020 at 03:33:34PM -0400, Leo Famulari wrote:
> On Mon, Aug 31, 2020 at 10:20:36PM +0300, Efraim Flashner wrote:
> > On Tue, Aug 25, 2020 at 04:14:59PM -0400, Leo Famulari wrote:
> > > On Tue, Aug 25, 2020 at 12:45:45PM +0300, Efraim Flashner wrote:
> > > > This bug report sounds absurd to me but I don't see anything else
> > > > obvious that changed. I reconfigured with (kernel linux-libre) and the
> > > > gpg-agent couldn't find any pinentry. I even tried killing gpg-agent and
> > > > manually launching it and giving it the path to pinentry. I then changed
> > > > to (kernel linux-libre-5.7) and used the same commit to reconfigure and
> > > > gpg-agent started working as expected again.
> > > 
> > > Weird! You should run gpg-agent with `strace -f` and see where it is
> > > looking.
> > 
> > I've attached the strace from gpg-agent when I tried to run 'gpg -s'
> > ^C+d. I'm not really sure what it could be but it looks like I should
> > boot back into the 5.8.5 kernel generation and strace some more
> > processes.
> 
> Okay, I'm still stumped. Next time use `strace -fv`, so that it doesn't
> abbreviate useful information.

I have a new one with 'strace -fv' where it still didn't work. Then I
figured that maybe it was custom pinentry-efl so I removed that and
switched to pinentry-efl and that didn't work. Then I removed that and
installed pinentry-gnome3 and suddenly that worked. So it looks like
it's pinentry-efl specific


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43035; Package guix. (Thu, 29 Sep 2022 00:29:01 GMT) Full text and rfc822 format available.

Message #20 received at 43035 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 43035 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
Date: Wed, 28 Sep 2022 20:28:14 -0400
Hi,

Efraim Flashner <efraim <at> flashner.co.il> writes:

> On Mon, Aug 31, 2020 at 03:33:34PM -0400, Leo Famulari wrote:
>> On Mon, Aug 31, 2020 at 10:20:36PM +0300, Efraim Flashner wrote:
>> > On Tue, Aug 25, 2020 at 04:14:59PM -0400, Leo Famulari wrote:
>> > > On Tue, Aug 25, 2020 at 12:45:45PM +0300, Efraim Flashner wrote:
>> > > > This bug report sounds absurd to me but I don't see anything else
>> > > > obvious that changed. I reconfigured with (kernel linux-libre) and the
>> > > > gpg-agent couldn't find any pinentry. I even tried killing gpg-agent and
>> > > > manually launching it and giving it the path to pinentry. I then changed
>> > > > to (kernel linux-libre-5.7) and used the same commit to reconfigure and
>> > > > gpg-agent started working as expected again.
>> > > 
>> > > Weird! You should run gpg-agent with `strace -f` and see where it is
>> > > looking.
>> > 
>> > I've attached the strace from gpg-agent when I tried to run 'gpg -s'
>> > ^C+d. I'm not really sure what it could be but it looks like I should
>> > boot back into the 5.8.5 kernel generation and strace some more
>> > processes.
>> 
>> Okay, I'm still stumped. Next time use `strace -fv`, so that it doesn't
>> abbreviate useful information.
>
> I have a new one with 'strace -fv' where it still didn't work. Then I
> figured that maybe it was custom pinentry-efl so I removed that and
> switched to pinentry-efl and that didn't work. Then I removed that and
> installed pinentry-gnome3 and suddenly that worked. So it looks like
> it's pinentry-efl specific

Is it OK to close this issue then?  The title is rather misleading! :-)

Thanks,

Maxim




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 29 Sep 2022 06:27:02 GMT) Full text and rfc822 format available.

Notification sent to Efraim Flashner <efraim <at> flashner.co.il>:
bug acknowledged by developer. (Thu, 29 Sep 2022 06:27:02 GMT) Full text and rfc822 format available.

Message #25 received at 43035-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 43035-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
Date: Thu, 29 Sep 2022 09:26:35 +0300
[Message part 1 (text/plain, inline)]
On Wed, Sep 28, 2022 at 08:28:14PM -0400, Maxim Cournoyer wrote:
> Hi,
> 
> Efraim Flashner <efraim <at> flashner.co.il> writes:
> 
> > On Mon, Aug 31, 2020 at 03:33:34PM -0400, Leo Famulari wrote:
> >> On Mon, Aug 31, 2020 at 10:20:36PM +0300, Efraim Flashner wrote:
> >> > On Tue, Aug 25, 2020 at 04:14:59PM -0400, Leo Famulari wrote:
> >> > > On Tue, Aug 25, 2020 at 12:45:45PM +0300, Efraim Flashner wrote:
> >> > > > This bug report sounds absurd to me but I don't see anything else
> >> > > > obvious that changed. I reconfigured with (kernel linux-libre) and the
> >> > > > gpg-agent couldn't find any pinentry. I even tried killing gpg-agent and
> >> > > > manually launching it and giving it the path to pinentry. I then changed
> >> > > > to (kernel linux-libre-5.7) and used the same commit to reconfigure and
> >> > > > gpg-agent started working as expected again.
> >> > > 
> >> > > Weird! You should run gpg-agent with `strace -f` and see where it is
> >> > > looking.
> >> > 
> >> > I've attached the strace from gpg-agent when I tried to run 'gpg -s'
> >> > ^C+d. I'm not really sure what it could be but it looks like I should
> >> > boot back into the 5.8.5 kernel generation and strace some more
> >> > processes.
> >> 
> >> Okay, I'm still stumped. Next time use `strace -fv`, so that it doesn't
> >> abbreviate useful information.
> >
> > I have a new one with 'strace -fv' where it still didn't work. Then I
> > figured that maybe it was custom pinentry-efl so I removed that and
> > switched to pinentry-efl and that didn't work. Then I removed that and
> > installed pinentry-gnome3 and suddenly that worked. So it looks like
> > it's pinentry-efl specific
> 
> Is it OK to close this issue then?  The title is rather misleading! :-)
> 

Sure. I'm not even really sure what it's about right now. I assume the
problem is fixed.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Oct 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.