* bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
@ 2020-08-25 9:45 Efraim Flashner
2020-08-25 20:14 ` Leo Famulari
0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2020-08-25 9:45 UTC (permalink / raw)
To: 43035
[-- Attachment #1.1: Type: text/plain, Size: 1101 bytes --]
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@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@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
[-- Attachment #1.2: E5400_config.scm --]
[-- Type: text/plain, Size: 5989 bytes --]
(use-modules (guix store)
(guix gexp)
(gnu)
(gnu system locale)
(config filesystems)
(config guix-daemon)
(config os-release)
(srfi srfi-1))
(use-service-modules admin cups desktop linux mcron networking sddm security-token ssh virtualization xorg)
(use-package-modules certs connman cups gnome linux virtualization)
(operating-system
(host-name "E5400")
(timezone "Asia/Jerusalem")
(locale "en_US.UTF-8")
(locale-definitions
(list (locale-definition (source "en_US")
(name "en_US.UTF-8"))
(locale-definition (source "he_IL")
(name "he_IL.UTF-8"))))
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
(file-systems (cons* (file-system
(device (file-system-label "root"))
(mount-point "/")
(type "btrfs")
(options "autodefrag,compress-force=zstd,discard,ssd_spread"))
(file-system
(device (file-system-label "data"))
(mount-point "/data")
(type "ext4"))
%guix-temproots
%base-file-systems))
(kernel linux-libre-5.7)
(swap-devices '("/dev/sda1"))
(users (cons (user-account
(name "efraim")
(comment "Efraim")
(group "users")
(supplementary-groups '("wheel" "netdev" "kvm"
"lp" "lpadmin"
"libvirt"
"audio" "video"))
(home-directory "/home/efraim"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
cups
hicolor-icon-theme
econnman
btrfs-progs compsize
virt-manager
%base-packages))
(services (cons* (service enlightenment-desktop-service-type)
(simple-service 'os-release etc-service-type
`(("os-release" ,%os-release-file)))
(service guix-publish-service-type
(guix-publish-configuration
(host "0.0.0.0")
(port 3000)))
(service openssh-service-type
(openssh-configuration
(password-authentication? #t)))
(service tor-service-type)
(tor-hidden-service "ssh"
'((22 "127.0.0.1:22")))
(tor-hidden-service "guix-publish"
;jlcmm5lblot62p4txmplf66d76bsrfs4ilhcwaswjdulf6htvntxztad.onion
'((3000 "127.0.0.1:3000")))
(service cups-service-type
(cups-configuration
(web-interface? #t)
(default-paper-size "A4")
(extensions
(list cups-filters hplip-minimal))))
(service mcron-service-type
(mcron-configuration
(jobs (%btrfs-maintenance-jobs "/"))))
(service openntpd-service-type
(openntpd-configuration
(listen-on '("127.0.0.1" "::1"))
(allow-large-adjustment? #t)))
(service connman-service-type)
(service libvirt-service-type
(libvirt-configuration
(unix-sock-group "libvirt")))
(service virtlog-service-type)
(service pcscd-service-type)
(service earlyoom-service-type
(earlyoom-configuration
(minimum-free-swap 50)))
(service zram-device-service-type
(zram-device-configuration
(size (expt 2 31))
(compression-algorithm 'zstd)
(priority 100)))
(service sddm-service-type
(sddm-configuration
(display-server "wayland")))
(remove (lambda (service)
(let ((type (service-kind service)))
(or (memq type
(list
gdm-service-type
modem-manager-service-type
network-manager-service-type
ntp-service-type
screen-locker-service-type))
(eq? 'network-manager-applet
(service-type-name type)))))
(modify-services
%desktop-services
(guix-service-type
config =>
(guix-configuration
(inherit config)
(substitute-urls %substitute-urls)
(authorized-keys %authorized-keys)
(extra-options %extra-options)))))))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
2020-08-25 9:45 bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3 Efraim Flashner
@ 2020-08-25 20:14 ` Leo Famulari
2020-08-31 19:20 ` Efraim Flashner
0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2020-08-25 20:14 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 43035
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
2020-08-25 20:14 ` Leo Famulari
@ 2020-08-31 19:20 ` Efraim Flashner
2020-08-31 19:33 ` Leo Famulari
0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2020-08-31 19:20 UTC (permalink / raw)
To: Leo Famulari; +Cc: 43035
[-- Attachment #1.1: Type: text/plain, Size: 1086 bytes --]
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@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
[-- Attachment #1.2: gpg-agent.strace.gz --]
[-- Type: application/x-gunzip, Size: 25331 bytes --]
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
2020-08-31 19:20 ` Efraim Flashner
@ 2020-08-31 19:33 ` Leo Famulari
2020-09-03 11:14 ` Efraim Flashner
0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2020-08-31 19:33 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 43035
[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
2020-08-31 19:33 ` Leo Famulari
@ 2020-09-03 11:14 ` Efraim Flashner
2022-09-29 0:28 ` Maxim Cournoyer
0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2020-09-03 11:14 UTC (permalink / raw)
To: Leo Famulari; +Cc: 43035
[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]
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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
2020-09-03 11:14 ` Efraim Flashner
@ 2022-09-29 0:28 ` Maxim Cournoyer
2022-09-29 6:26 ` Efraim Flashner
0 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2022-09-29 0:28 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 43035, Leo Famulari
Hi,
Efraim Flashner <efraim@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3
2022-09-29 0:28 ` Maxim Cournoyer
@ 2022-09-29 6:26 ` Efraim Flashner
0 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2022-09-29 6:26 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 43035-done, Leo Famulari
[-- Attachment #1: Type: text/plain, Size: 2097 bytes --]
On Wed, Sep 28, 2022 at 08:28:14PM -0400, Maxim Cournoyer wrote:
> Hi,
>
> Efraim Flashner <efraim@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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-09-29 6:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-25 9:45 bug#43035: gpg-agent can't find pinentry with linux-libre-5.8.3 Efraim Flashner
2020-08-25 20:14 ` Leo Famulari
2020-08-31 19:20 ` Efraim Flashner
2020-08-31 19:33 ` Leo Famulari
2020-09-03 11:14 ` Efraim Flashner
2022-09-29 0:28 ` Maxim Cournoyer
2022-09-29 6:26 ` Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).