Bug 1955860

Summary: kwallet not opening at login
Product: [Fedora] Fedora Reporter: Ed Greshko <ed.greshko>
Component: pam-kwalletAssignee: Rex Dieter <rdieter>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: accounts+fedora, agurenko, alex765, jgrulich, kde-sig, massi.ergosum, orion, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ed Greshko 2021-05-01 02:48:02 UTC
Description of problem: After an upgrade from F33 to F34 kwallet fails to open at login most of the time.


Version-Release number of selected component (if applicable):


How reproducible: Simply login with a Wifi connection and its secrets saved for
only the user and auto-connection.


Steps to Reproduce:
1.
2.
3.

Actual results: kwallet not open.  Prompts for kwallet password.  If not known, or entered incorrectly 3 times it will then prompt for the Wifi password.


Expected results: The user should see no prompts and the Wifi connection will be made.


Additional info:

May 01 06:47:05 meimei.greshko.com sddm-helper[2543]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
May 01 06:47:05 meimei.greshko.com sddm-helper[2543]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
May 01 06:47:06 meimei.greshko.com sddm-helper[2543]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
May 01 06:47:06 meimei.greshko.com sddm-helper[2564]: pam_kwallet5: final socket path: /run/user/1026/kwallet5.socket
May 01 06:47:06 meimei.greshko.com audit[2543]: USER_START pid=2543 uid=0 auid=1026 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_kwallet5,pam_umask,pam_lastlog acct="egreshko" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=:0 res=success'
May 01 06:47:09 meimei.greshko.com kwalletd5[2565]: Wallet failed to get opened by PAM, error code is -9
May 01 06:47:10 meimei.greshko.com systemd[2548]: app-pam_kwallet_init@autostart.service: Deactivated successfully.

Comment 1 Rex Dieter 2021-05-01 07:13:57 UTC
Preferably, this should be filed upstream at bugs.kde.org

Comment 2 Ed Greshko 2021-05-01 08:48:05 UTC
(In reply to Rex Dieter from comment #1)
> Preferably, this should be filed upstream at bugs.kde.org

OK.  https://bugs.kde.org/show_bug.cgi?id=436442

Got "tricked up" by them calling the package kwallet-pam.  :-)