When kwallet-pam is active (setting the proposed entries in /etc/pam.d/sddm), all KDE-4-based applications produce obscure errors about a missing or erroneous protocol 'file'. Even worse, if you migrate from KDE 4 to KDE 5 and activate kwallet-pam directly, then the new kwallet system cannot migrate the KDE 4 wallet. Luckily the migration works, once kwallet-pam is deactivated and also all KDE 4 application. However, as soon as kwallet-pam is activated again, the KDE-4-based applications are broken again when the local file system is accessed: Konqueror: Cannot display pages from local file system, shows error page KMail: Cannot save attachments, cannot attach attachments neither using FileOpen dialog nor with drag and drop LibreOffice: Cannot load files using the FileOpen dialog (works only over Dolphin due to file extension) or save file with new name. Amarok: Error box for broken file protocol at application start (when Last.FM scrobbling is activated) and cannot load album cover from local file systems Reproducible: Always Steps to Reproduce: 1. Activate kwallet-pam 2. Use Konqueror to open a HTML page on local file system Actual Results: Error page in Konqueror, error message about missing 'file' protocol. Expected Results: Local HTML page should have been shown.
I can confirm this, unfortunately.
Joerg, please test kde-frameworks/kwallet-5.34.0-r1, it was just pushed to tree. It backports kwalletd4 integration, which means you will be able to remove kde-apps/kwalletd and disable kwallet-pam[oldwallet] (which seems to be the reason for the issues).
It seems to work now. I can no longer test with Konquerer, since it is now a Qt5 app, but Amarok and OfficeLibre work fine now when kwallet-pam is enabled also for KDE 4 apps. Nevertheless, I have not removed kwalletd yet. There was a strange error report for KMail stable sending mails with SMPT no longer working. However, this is a different topic and not directly related with kwallet-pam.
Am I right, that the use flag for oldwallet is now obsolete as well as the two additional lines for the old kwallet in /etc/pam.d/sddm (as suggested by the elog message)?
Yes, all versions >=kwallet-pam-5.8.7-r1 are unconditionally disabling the -DKWALLET4 switch, because stable kde-frameworks/kwallet-5.34.0-r1 obsoletes kwalletd:4.