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

--- Comment #2 from Peter <elandr...@yandex.ru> ---
(In reply to Denis Kurz from comment #1)
> Peter, are both your kde4 and "kde5" wallets locked after login?
> 
> I couldn't find a hint in "man pam.d" saying so, and I'm no pam expert, but
> maybe the order of lines in pam.d/sddm is important. You put both kwallet
> auth lines before the pam_mount line. Does reordering them make any
> difference?
> 
> "man pam.d" doesn't mention dependency management of any other kind, so if
> reordering doesn't help, there might be no way to get kwallet-pam working
> reliably in conjunction with pam_mount. But then again, I'm no expert on
> this...

Both kwallet4 and kwallet5 are locked if I login straight to KDE from SDDM
after booting up the PC. If I login to tty2 beforehand, thus unlocking the
/home partition, and only after that login to KDE through SDDM, then both
kwallet4 and kwallet5 are unlocked.

I've cheked the following ordering of lines in /etc/pam.d/sddm, and I don't see
any difference (i.e. the problem persists, in exactly the same fashion):

#%PAM-1.0

auth            include         system-login
auth            optional        pam_kwallet5.so
auth            optional        pam_kwallet.so kdehome=.kde4
auth            optional        pam_mount.so
account         include         system-login
password        optional        pam_mount.so
password        include         system-login
session         include         system-login
session         optional        pam_kwallet5.so
session         optional        pam_kwallet.so
session         optional        pam_mount.so

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

Reply via email to