FS#70441 - Gnome Keyrings not working anymore

Attached to Project: Arch Linux
Opened by Sunny Wong (ArchDoctor_needed) - Wednesday, 14 April 2021, 14:18 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 21 March 2022, 09:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since the upgrade to gnome 40. I can't manage to get seahorse or gnome online accounts to work.

Steps to reproduce:
* on boot getting into gdm
* logging in (gnome not gnome classic)
* -> No prompt for unlocking appears
* opening seahorse and pressing unlock -> nothing happens just stays greyed out
* pressing on the little lock to unlock -> nothing happens

Additional info:
* package version(s)
seahorse 40.0
GNUPG: /usr/bin/gpg2 (2.2.27)
libcap-ng-0.8.1-1-x86_64.pkg.tar.zst / libcap-ng-0.8.2-1-x86_64.pkg.tar.zst

* config and/or log files etc.
An except out of my journalctl. Maybe something helps:

Apr 13 19:54:00 pc_name /usr/lib/gdm-x-session[1233]: dbus-daemon[1233]: [session uid=120 pid=1233] Activating service name='org.freedesktop.systemd1' requested by ':1.13' (uid=120 pid=1353 comm="/usr/lib/gsd-sharing ")
Apr 13 19:54:00 pc_name /usr/lib/gdm-x-session[1233]: dbus-daemon[1233]: [session uid=120 pid=1233] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Apr 13 19:54:00 pc_name gsd-sharing[1353]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Apr 13 19:54:00 pc_name gsd-sharing[1353]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Apr 13 19:54:00 pc_name gsd-sharing[1353]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
----------
...
----------
Apr 13 19:54:07 pc_name goa-daemon[1703]: goa-daemon version 3.39.92 starting
Apr 13 19:54:07 pc_name dbus-daemon[1533]: [session uid=1000 pid=1533] Activating service name='org.gnome.Identity' requested by ':1.29' (uid=1000 pid=1703 comm="/usr/lib/goa-daemon ")
Apr 13 19:54:07 pc_name dbus-daemon[1533]: [session uid=1000 pid=1533] Successfully activated service 'org.gnome.OnlineAccounts'
Apr 13 19:54:07 pc_name dbus-daemon[1533]: [session uid=1000 pid=1533] Successfully activated service 'org.gnome.Identity'
Apr 13 19:54:07 pc_name dbus-daemon[1533]: [session uid=1000 pid=1533] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Apr 13 19:54:07 pc_name systemd[1513]: Started Virtual filesystem service - GNOME Online Accounts monitor.
----------
...
----------
Apr 13 19:54:08 pc_name gnome-session[1573]: gnome-session-binary[1573]: GnomeDesktop-WARNING: Could not create transient scope for PID 1758: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1758 does not exist.
Apr 13 19:54:08 pc_name gnome-session-binary[1573]: GnomeDesktop-WARNING: Could not create transient scope for PID 1758: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1758 does not exist.
----------
...
----------
Apr 13 19:54:08 pc_name gnome-shell[1619]: pushModal: invocation of begin_modal failed
Apr 13 19:54:08 pc_name gnome-shell[1619]: keyringPrompt: Failed to show modal dialog. Dismissing prompt request
Apr 13 19:54:08 pc_name gsd-usb-protect[1767]: Failed to fetch USBGuard parameters: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
Apr 13 19:54:08 pc_name goa-daemon[1703]: secret_password_lookup_sync() returned NULL
----------
...
----------
Apr 13 19:54:08 pc_name gnome-shell[1619]: pushModal: invocation of begin_modal failed
Apr 13 19:54:08 pc_name gnome-shell[1619]: keyringPrompt: Failed to show modal dialog. Dismissing prompt request
----------
...
----------
Apr 13 19:54:11 pc_name gnome-shell[1619]: JS ERROR: TypeError: method Gio.File.delete_async: At least 3 arguments required, but only 2 passed
_handleLockScreenWarning@resource:///org/gnome/shell/ui/main.js:331:24
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:303:13
_startupAnimationComplete@resource:///org/gnome/shell/ui/layout.js:741:14
onComplete@resource:///org/gnome/shell/ui/layout.js:708:39
runStartupAnimation/<@resource:///org/gnome/shell/ui/overview.js:661:13
onComplete@resource:///org/gnome/shell/ui/overviewControls.js:791:31
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:85:13
_easeActor/<@resource:///org/gnome/shell/ui/environment.js:168:64
----------
...
----------
Apr 13 19:54:11 pc_name gnome-shell[1619]: Registering session with GDM
Apr 13 19:54:11 pc_name gnome-shell[1274]: gnome-shell: Fatal IO error 4 (Interrupted system call) on X server :0.
Apr 13 19:54:11 pc_name gsd-print-notif[1359]: Error releasing name org.gnome.SettingsDaemon.PrintNotifications: The connection is closed
Apr 13 19:54:11 pc_name gsd-sound[1374]: Error releasing name org.gnome.SettingsDaemon.Sound: The connection is closed
Apr 13 19:54:11 pc_name gsd-sharing[1353]: Error releasing name org.gnome.SettingsDaemon.Sharing: The connection is closed
Apr 13 19:54:11 pc_name gnome-session[1234]: gnome-session-binary[1234]: WARNING: Lost name on bus: org.gnome.SessionManager
Apr 13 19:54:11 pc_name gnome-session-binary[1234]: WARNING: Lost name on bus: org.gnome.SessionManager
----------
...
----------
Apr 14 07:29:55 pc_name gnome-shell[1619]: JS ERROR: TypeError: app is null
_init@resource:///org/gnome/shell/ui/windowAttentionHandler.js:63:9
_onWindowDemandsAttention@resource:///org/gnome/shell/ui/windowAttentionHandler.js:37:22
----------
...
----------
Apr 14 07:50:51 pc_name dbus-daemon[1533]: [session uid=1000 pid=1533] Activating service name='org.gnome.seahorse.Application' requested by ':1.18' (uid=1000 pid=1619 comm="/usr/bin/gnome-shell ")
Apr 14 07:50:51 pc_name gnome-documents[7338]: g_irepository_find_by_name: assertion 'typelib != NULL' failed
Apr 14 07:50:51 pc_name gnome-documents[7338]: g_irepository_find_by_name: assertion 'typelib != NULL' failed
Apr 14 07:50:51 pc_name gnome-documents[7338]: g_irepository_find_by_name: assertion 'typelib != NULL' failed
Apr 14 07:50:51 pc_name gnome-documents[7338]: g_irepository_find_by_name: assertion 'typelib != NULL' failed
Apr 14 07:50:51 pc_name gnome-documents[7338]: g_irepository_find_by_name: assertion 'typelib != NULL' failed
Apr 14 07:50:51 pc_name gnome-documents[7338]: g_irepository_find_by_name: assertion 'typelib != NULL' failed
Apr 14 07:50:51 pc_name gnome-documents[7338]: g_irepository_find_by_name: assertion 'typelib != NULL' failed
Apr 14 07:50:51 pc_name gnome-documents[7338]: JS ERROR: Unable to connect to the tracker database: Error: Function Tracker.local_new cannot be called: argument 'flags' is not introspectable.
vfunc_startup@resource:///org/gnome/Documents/js/application.js:341:13
main@resource:///org/gnome/Documents/js/main.js:47:24
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@/usr/bin/gnome-documents:6:17
Apr 14 07:50:51 pc_name gnome-documents[7338]: JS ERROR: TypeError: searchController is null
run@resource:///org/gnome/Documents/js/shellSearchProvider.js:298:9
GetInitialResultSetAsync@resource:///org/gnome/Documents/js/shellSearchProvider.js:380:13
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:354:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:387:34
main@resource:///org/gnome/Documents/js/main.js:47:24
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@/usr/bin/gnome-documents:6:17
----------
...
----------
Apr 14 08:07:22 pc_name gnome-calendar[7359]: source_credentials_required_cb: Failed to authenticate 'my.name@mymail.com': Timeout was reached
Apr 14 08:07:22 pc_name gnome-calendar[7359]: source_credentials_required_cb: Failed to authenticate 'Kalender': Failed to lookup credentials: Failed to get password from GOA: Timeout was reached






* link to upstream bug report, if any

This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 21 March 2022, 09:42 GMT
Reason for closing:  Fixed
Comment by Sunny Wong (ArchDoctor_needed) - Sunday, 25 April 2021, 07:35 GMT
Small Update:
It seems to be a known issue. Gnome seems to have trouble with fingerprint logins.


-----
Apr 23 09:24:42 hostname gdm-fingerprint][1495]: gkr-pam: gnome-keyring-daemon started properly

Apr 23 09:24:46 hostname gnome-session[1576]: gnome-session-binary[1576]: GnomeDesktop-WARNING: Could not create transient scope for PID 1776: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1776 does not exist.
Apr 23 09:24:46 hostname gnome-session-binary[1576]: GnomeDesktop-WARNING: Could not create transient scope for PID 1776: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1776 does not exist.


Apr 23 09:24:47 hostname gnome-shell[1621]: pushModal: invocation of begin_modal failed
Apr 23 09:24:47 hostname gnome-shell[1621]: keyringPrompt: Failed to show modal dialog. Dismissing prompt request
Apr 23 09:24:47 hostname goa-daemon[1713]: secret_password_lookup_sync() returned NULL

Apr 23 09:24:46 hostname goa-daemon[1713]: secret_password_lookup_sync() returned NULL
Apr 23 09:24:46 hostname goa-daemon[1713]: /org/gnome/OnlineAccounts/Accounts/account_1503282241_0: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: No credentials found in the keyring (goa-error-quark, 4)
Apr 23 09:24:46 hostname dbus-daemon[1536]: [session uid=1000 pid=1536] Successfully activated service 'org.gnome.Shell.Screencast'
Apr 23 09:24:46 hostname gnome-shell[1621]: pushModal: invocation of begin_modal failed
Apr 23 09:24:46 hostname gnome-shell[1621]: keyringPrompt: Failed to show modal dialog. Dismissing prompt request
Apr 23 09:24:46 hostname goa-daemon[1713]: secret_password_lookup_sync() returned NULL


Some References:
1. https://gitlab.gnome.org/GNOME/seahorse/-/issues/322
2. https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1875845
3. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2720
Comment by mattia (nTia89) - Sunday, 20 March 2022, 15:28 GMT
Upstream issues have been closed. Is it still valid for you?
Comment by Sunny Wong (ArchDoctor_needed) - Monday, 21 March 2022, 07:50 GMT
Can be closed.
Doesn't happen at all using Wayland and on X11 very rarely (and can be fixed with a restart).

Loading...