| Summary: | Overriding D-Bus services does not work automatically using install-sessions.sh | ||
|---|---|---|---|
| Product: | [Developer tools] kdesrc-build | Reporter: | Prajna Sariputra <putr4.s> |
| Component: | general | Assignee: | Michael Pyne <mpyne> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Prajna Sariputra
2023-11-04 07:30:07 UTC
*** This bug has been marked as a duplicate of bug 462824 *** You seem extremely knowledgeable about this; are you aware of a way for us to override the system DBus stuff in a better way? Currently our hope is to merge https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1715 which will fix the issue in a different way, but that may be a long way off. I wonder if upstream 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 that MR you linked. But then again, if just fixing the problem for the session bus/services would be an improvement Jade seems to have another possible solution, 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. Any chance you could post that comment in the parent bug report--and even better, see if upstream might be open to the idea? Any ideas or fixes we can implement ourselves would also be welcome. |