[arch-general] gpg-agent Failed to lookup

José Vilmar Estácio de Souza vilmar at informal.com.br
Thu Nov 11 19:47:48 UTC 2021


Hi Keith,
It worked for me too, although I have no idea of ​​the possible 
implications either.
Thank you very much.

On 11/9/21 12:19, Keith Scheiwiller wrote:
> Hi José,
>
> I just ran into what I assume is the same issue yesterday.
>
> After digging around I found [this][1] seemingly similar bug report.
> I found that the binary provided in the package does indeed have
> additional capabilities set.
> ```
> $ getcap /usr/bin/gnome-keyring-daemon
> /usr/bin/gnome-keyring-daemon cap_ipc_lock=ep
> ```
>
> As I was in a bit of a rush I did a quick
> `$ sudo setcap -r /usr/bin/gnome-keyring-daemon`
> and found that it began working as expected.
> Of course I would not recommend doing so as I do not know the
> implications of removing that, but hopefully someone more
> knowledgeable can chime in with more info. I see others on the
> forum possibly having the same issues.
>
> [1]: <https://gitlab.gnome.org/GNOME/glib/-/issues/2518>
>
> Regards,
> Keith
>
>
> On Tue, Nov 9, 2021 at 8:49 AM José Vilmar Estácio de Souza via 
> arch-general <arch-general at lists.archlinux.org> wrote:
>
>     Hi all.
>
>
>     After recent updates to arch I started having problems with some
>     programs that make use of the gnome-keyring-daemon.
>
>     When I run for example the command 'pass -c git-azure', the command
>     takes about 15 seconds to ask for the password and the following
>     messages appear in the log:
>
>
>     Nov 09 11:13:26 jveii gpg-agent[124433]: Failed to lookup password
>     for
>     key n/1128A1F67CEF113D23CE021A5502F13DEE17610C with secret service:
>     Error calling StartServiceByName for org.freedesktop.secrets: Timeout
>     was reached
>     Nov 09 11:13:01 jveii gnome-keyring-d[124438]: Couldn't connect to
>     session bus: Cannot spawn a message bus when setuid
>     Nov 09 11:13:01 jveii gnome-keyring-daemon[124438]: Couldn't
>     connect to
>     session bus: Cannot spawn a message bus when setuid
>     Nov 09 11:13:01 jveii /usr/lib/gdm-x-session[124438]:
>     SSH_AUTH_SOCK=/run/user/1000/keyring/sshNov 09 11:13:01 jveii
>     gnome-keyring-daemon[783]: couldn't connect to dbus session bus:
>     Cannot
>     spawn a message bus when setuid
>     Nov 09 11:13:01 jveii /usr/lib/gdm-x-session[795]: dbus-daemon[795]:
>     [session uid=1000 pid=795] Activating service
>     name='org.freedesktop.secrets' requested by ':1.1451' (uid=1000
>     pid=124433 comm="/usr/bin/pinentry-gtk-2 --display :0 ")
>
>
>     I'm also having issues with other applications like vpn
>     connections and
>     chromium is taking a while to display the first page once it
>     starts up.
>
>
>     Does anyone have any idea what I might be doing wrong?
>
>     Thank you very much in advance.
>


More information about the arch-general mailing list