Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717606 - kde-plasma/kwallet-pam and x11-misc/lightdm: Automatic unlock does not work
Summary: kde-plasma/kwallet-pam and x11-misc/lightdm: Automatic unlock does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://invent.kde.org/plasma/kwallet...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2020-04-15 17:02 UTC by tomtom69
Modified: 2021-02-06 16:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Snippet of /var/log/messages (messages.txt,1.08 KB, text/plain)
2020-04-15 17:02 UTC, tomtom69
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomtom69 2020-04-15 17:02:46 UTC
Created attachment 633102 [details]
Snippet of /var/log/messages

kwallet-pam does not auto-unlock kwalletd when using lightdm, but prompts for password instead after login. Works when password is entered again after every login.
Problem is present since a long time, not only with current versions.
See attached snippet of /var/log/messages which was created after login and kwallet-pam trying to unlock kwalletd.
versions are
kde-frameworks/kwallet-5.67.0
kde-plasma/kwallet-pam-5.17.5

There is a patch available in upstream bugtracker, but it seems not to be official yet:
https://bugs.kde.org/show_bug.cgi?id=400929

I can confirm this patch removes the issue here, however I can not judge whether it is clean and may be applied generally.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-04-15 17:27:11 UTC
And it won't become official as long as it resides on some pastebin service.

Upstream contributions happen via phabricator or gitlab resource on kde.org.
Comment 2 tomtom69 2020-04-15 17:59:01 UTC
I am not familiar with kde contributions and cannot judge the quality of the patch. Despite of this, can I help to push the patch towards upstream or should I just wait?
Comment 3 Andreas Sturmlechner gentoo-dev 2020-04-15 17:59:48 UTC
I encouraged them in the upstream bug to do exactly that, we'll see if there is a reaction.
Comment 4 Andreas Sturmlechner gentoo-dev 2020-12-28 22:51:58 UTC
There's a new patch to test!

https://bugs.kde.org/show_bug.cgi?id=400929#c16
Comment 5 tomtom69 2020-12-29 13:37:29 UTC
I can confirm the new patch solves the problem! (at least with lightdm - I was not able to check other display managers)
(to be sure I removed the old patch first to double check that without patch kwallet asks for the password).
Comment 6 Larry the Git Cow gentoo-dev 2021-01-19 23:39:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8248ba08cccbeb3d0a8632ec4b4e7871abd5e3b9

commit 8248ba08cccbeb3d0a8632ec4b4e7871abd5e3b9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-01-19 23:37:08 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-01-19 23:38:48 +0000

    kde-plasma/kwallet-pam: Fix automatic unlock with x11-misc/lightdm
    
    Upstream commit 8f899902e6a3be8ad4948eb1ebdf679186aa20a7
    KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=400929
    Closes: https://bugs.gentoo.org/717606
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...kwallet-pam-5.20.5-socket-listening-error.patch | 44 ++++++++++++++++++++++
 .../kwallet-pam/kwallet-pam-5.20.5-r1.ebuild       | 39 +++++++++++++++++++
 2 files changed, 83 insertions(+)
Comment 7 tomtom69 2021-01-20 20:15:29 UTC
Thank you very much to everyone involved for fixing this :-)