FS#68961 - [libcap-ng] [gnome-keyring] gnome-keyring-daemon fails to start after upgrade to libcap-ng 0.8.2

Attached to Project: Arch Linux
Opened by Netboy3 (Netboy3) - Saturday, 12 December 2020, 21:28 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 12 December 2020, 22:12 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

After upgrading to libcap-ng 0.8.2-1 in [core], gnome-keyring fails to start with the error message

gnome-keyring-daemon: error dropping process capabilities, aborting

This issue was already reported for an earlier libcap-ng-0.8.1-1 [testing] in  FS#68664  back in mid November

Additional info:
* libcap-ng 0.8.2-1
* gnome-keyring 1:3.36.0-1

Steps to reproduce:
1. Install gnome-keyring and libcap-ng
2. Try starting the daemon: gnome-keyring-daemon --start
3. Observe the error message given above.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 12 December 2020, 22:12 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#68664 
Comment by Netboy3 (Netboy3) - Saturday, 12 December 2020, 21:39 GMT
As this is now in "core" and was pushed today, there are probably many affected users which is why I marked this "High". Until either libcap-ng or the downstream applications (such as gnome-keyring) will agree on how to handle the return values that cause all those problems, a workaround could be to remove the offending return values in libcap-ng by patching libcap-ng. See Gentoo's bug report for such a patch: https://bugs.gentoo.org/759550
Comment by Robert (robson) - Saturday, 12 December 2020, 21:50 GMT
I confirm
lightdm[438]: gkr-pam: gnome-keyring-daemon didn't start properly
Comment by Netboy3 (Netboy3) - Saturday, 12 December 2020, 21:50 GMT
Upon further research it looks like this was fixed in gnome-keyring 1:3.36.0-3[testing], so libcap-ng was pushed too soon.

Loading...