Making the system dbus aware of a "parallel KF5 prefix"
- Date: Fri, 16 Sep 2016 12:02:37 +0200
- From: René J.V. Bertin <rjvbertin@xxxxxxxxx>
- Subject: Making the system dbus aware of a "parallel KF5 prefix"
I've been building and installing Qt5 and select KF5 applications to /opt/local for use "under" my trusty (sic) old KDE4 desktop. I build with full rpaths so I don't have to fool around with LD_LIBRARY_PATH or ldconfig. My session dbus daemon is perfectly happy to expose the services from /opt/local after I created a session-local.conf as described at
but the system dbus doesn't play so nicely.
After creating a system-local.conf and sending a SIGHUP to the system dbus-daemon, I see things like this:
%> qdbus --system org.kde.kcontrol.kcmkwallet5
Failed to setup environment correctly
Without system-local.conf I just get an error that the service isn't found, and if I move the servivedir and includedir lines from system-local.conf to system.conf things work as expected.
What am I missing here? Is that environment error a result of wrong ownership and/or permissions on one of the files or directories involved? AFAICT mine are identical to the system files and directories in that aspect: owned and writable only by root.