Public bug reported: For example, when running in a snap.
I ran into this while testing a unity8 desktop session snap. Session services were being dbus-activated, but dbus was running the hardcoded paths in the session desktop files. Which weren't pointed into the snap. DBus has support for relocating those paths, but it only does so on Windows. I've added a patch to support $DBUS_ROOT on Unix and relocate paths as needed. I've linked the upstream bug here. We may want to consider patching Ubuntu while we wait for it to land upstream. I've attached the patch here too. ** Affects: dbus Importance: Unknown Status: Unknown ** Affects: dbus (Ubuntu) Importance: Undecided Status: New ** Patch added: "0001-Support-runtime-relocation-in-Unix-with-the-DBUS_ROO.patch" https://bugs.launchpad.net/bugs/1633520/+attachment/4761121/+files/0001-Support-runtime-relocation-in-Unix-with-the-DBUS_ROO.patch ** Bug watch added: freedesktop.org Bugzilla #98260 https://bugs.freedesktop.org/show_bug.cgi?id=98260 ** Also affects: dbus via https://bugs.freedesktop.org/show_bug.cgi?id=98260 Importance: Unknown Status: Unknown ** Description changed: For example, when running in a snap. I ran into this while testing a unity8 desktop session snap. Session services were being dbus-activated, but dbus was running the hardcoded paths in the session desktop files. Which weren't pointed into the snap. DBus has support for relocating those paths, but it only does so on Windows. I've added a patch to support $DBUS_ROOT on Unix and relocate paths as needed. I've linked the upstream bug here. We may want to consider - patch Ubuntu while we wait for it to land upstream. + patching Ubuntu while we wait for it to land upstream. I've attached the patch here too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633520 Title: Support dbus runtime relocation To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1633520/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs