https://bugs.kde.org/show_bug.cgi?id=462824
--- Comment #3 from Prajna Sariputra <putr...@gmail.com> --- In the upstream dbus-daemon session.conf file, `<standard_session_servicedirs />` is placed above all of the `<includedir>session.d</includedir>` type stuff, so the `<servicedir>/opt/kde-dbus-scripts/services</servicedir>` part that is added by `install-sessions.sh` will be below the standard (system and user) directories. This means that for a system that has KDE Plasma installed both through the distro as well as kdesrc-build dbus-daemon will pick the version installed through the distro rather than the one provided by kdesrc-build, as per the documentation (https://dbus.freedesktop.org/doc/dbus-daemon.1.html). So, I wonder if upstream D-Bus could be convinced to change the defaults to also allow the additional config files to add service directories above the standard ones, especially for the session bus given that anything malicious can just drop stuff in ~/.local/share/dbus-1/services without needing any special privileges like what I'm doing already. They do clearly intend for the local config files to be able to override the defaults anyway, so I guess it's possible that they just didn't think of our use case when they wrote those defaults. On the other hand, the default system bus service directories are all under /usr or /lib, which would be protected for immutable systems, so getting upstream to allow us to override those would probably be more of an uphill battle, and if that isn't resolved then we'd still need a proper solution like the linked 1715 MR. Notably the KAuth helpers fall into the system services category (and in fact all but one of the system services I see in my kdesrc-build setup are KAuth stuff). But then again, if just fixing the problem for the session bus/services would be an improvement Jade seems to have another possible solution in the linked MR, which is to run the D-Bus session instance with a special config file that includes but also overrides the system defaults, including the directories problem. I might bring it up with upstream D-Bus at some point, unless someone can point out any glaring problems with that proposal which I missed. -- You are receiving this mail because: You are watching all bug changes.