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

            Bug ID: 400929
           Summary: kwallet-pam errors when logging into Plasma from
                    lightdm
           Product: kwallet-pam
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: matthew.fagn...@utoronto.ca
  Target Milestone: ---

SUMMARY

When I've logged in to Plasma 5.14.3  from lightdm 1.28.0-2 in Fedora 29, I saw
the following messages related to pam-kwallet 5.14.3-1 in the journal.

pam_kwallet5(lightdm:auth): (null): pam_sm_authenticate
pam_kwallet5(lightdm:setcred): pam_kwallet5: pam_sm_setcred
pam_kwallet5(lightdm:session): pam_kwallet5: pam_sm_open_session
pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
pam_kwallet5-kwalletd: Couldn't listen in socket
pam_kwallet5(lightdm:session): pam_kwallet5: Couldn't fork to execv kwalletd

The same messages occurred with Plasma/pam-kwallet 5.13.5 and earlier versions.
The kwallet was not unlocked when logging in likely related to those errors
"Couldn't listen in socket" and "Couldn't fork to execv kwalletd". When I
started kwalletmanager and clicked open, a pop up window asked for the
password.

STEPS TO REPRODUCE
1. Set lightdm as the display manager in Fedora 29 by sudo systemctl start
lightdm or sudo systemctl enable lightdm
2. Log into Plasma from lightdm
3. journalctl -b
4. start kwalletmanager
5. click open

OBSERVED RESULT
The errors "Couldn't listen in socket" and "Couldn't fork to execv kwalletd"
occurred in the journal messages when logging into Plasma. kwallet was not
unlocked when logging in.

EXPECTED RESULT
The errors above do not occur. kwallet is unlocked when logging in.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 29
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION

The "Couldn't fork to execv kwalletd" error messages are in pam_kwallet.c at
lines 536 and 549 while the "Couldn't listen in socket" message is at line 431.
https://cgit.kde.org/kwallet-pam.git/tree/pam_kwallet.c?h=Plasma/5.14

The error "pam_kwallet5-kwalletd: Couldn't listen in socket" was noted for
Fedora at https://bugzilla.redhat.com/show_bug.cgi?id=1581495 I couldn't find
the error "Couldn't fork to execv kwalletd" mentioned in that entry. The
lightdm-1.28.0-2.fc29 was made to address this and an issue with the gnome
keyring not being opened when starting gnome. The errors above still occurred
with the lightdm-1.28.0-2.fc29 update.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to