Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597610 - kde-plasma/kwallet-pam-5.7.5 breaks 'file' protocol for KDE-4-based applications
Summary: kde-plasma/kwallet-pam-5.7.5 breaks 'file' protocol for KDE-4-based applications
Status: RESOLVED TEST-REQUEST
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://archives.gentoo.org/gentoo-us...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 10:26 UTC by Joerg Schaible
Modified: 2017-06-10 07:00 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2016-10-20 10:26:34 UTC
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.
Comment 1 Andreas Sturmlechner gentoo-dev 2017-03-19 10:43:55 UTC
I can confirm this, unfortunately.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-05-27 15:09:22 UTC
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).
Comment 3 Joerg Schaible 2017-06-07 22:57:35 UTC
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.
Comment 4 Joerg Schaible 2017-06-08 00:09:05 UTC
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)?
Comment 5 Andreas Sturmlechner gentoo-dev 2017-06-10 07:00:16 UTC
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.