FS#59374 - [kwallet] PLEASE ENTER SUMMARY

Attached to Project: Arch Linux
Opened by Damjan Georgievski (damjan) - Tuesday, 17 July 2018, 21:01 GMT
Last edited by Antonio Rojas (arojas) - Monday, 23 July 2018, 22:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details


/usr/share/dbus-1/services/org.kde.kwalletd.service
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 23 July 2018, 22:38 GMT
Reason for closing:  Works for me
Additional comments about closing:  that service file is needed, it's the application's job to make sure to call the right service.
Comment by Damjan Georgievski (damjan) - Tuesday, 17 July 2018, 21:06 GMT
Sorry for the SPAM - inadvertedly pressed ENTER, if someone could edit the task I'd be glad.

The title should've been [kwallet] Remove legacy KDE4 dbus service.

Details:
the kwallet 5.48.0-1 package includes 2 dbus .service files, /usr/share/dbus-1/services/org.kde.kwalletd5.service and /usr/share/dbus-1/services/org.kde.kwalletd.service, the later refers to a legacy KDE4 version registering Name=org.kde.kwalletd and starting Exec=/usr/bin/kwalletd. This program doesn't exist in the kwallet package, and it seems that it breaks programs (owncloud) that try to invoke it.
Comment by Antonio Rojas (arojas) - Tuesday, 17 July 2018, 21:39 GMT
XY problem - please describe what you mean by "breaks owncloud". This service file is intentionally installed to trigger migration from KDE4 wallets.
Comment by Damjan Georgievski (damjan) - Tuesday, 17 July 2018, 21:57 GMT
I was not 100% sure there's causality, but the corelation was strong…
The issue I've seen is: I login into plasma, owncloud-client (2.4.1) pops up with a message it can't get the password from kwallet, at the same time the user log shows:

systemd[559]: Created slice dbus\x2d:1.2\x2dorg.kde.kwalletd.slice.
systemd[559]: Started dbus-:1.2-org.kde.kwalletd@0.service.
systemd[704]: dbus-:1.2-org.kde.kwalletd@0.service: Executable /usr/bin/kwalletd missing, skipping: No such file or directory

I've removed the offending /usr/share/dbus-1/services/org.kde.kwalletd.service and owncloud-client now works out-of-the-box.
Comment by Antonio Rojas (arojas) - Tuesday, 17 July 2018, 22:08 GMT
How do you log into plasma?
Comment by Damjan Georgievski (damjan) - Tuesday, 17 July 2018, 22:17 GMT
user and password in sddm

/etc/pam.d/sddm has:

-auth optional pam_kwallet5.so
-session optional pam_kwallet5.so auto_start

and /usr/bin/kwalletd5 runs and works fine
Comment by Antonio Rojas (arojas) - Tuesday, 17 July 2018, 22:47 GMT
Well, no idea where this connection to org.kde.kwalletd is coming from, but qtkeychain only tries to call that dbus address if you are on KDE4, as you can see in https://github.com/frankosterfeld/qtkeychain/blob/master/keychain_unix.cpp

So, if your environment variables are correctly set, it's not qtkeychain what's calling it.

Loading...