[Bug 1633520] Re: Support dbus runtime relocation
Alberto Mardegan
1633520 at bugs.launchpad.net
Tue Nov 1 07:00:23 UTC 2016
1) Indeed, it wouldn't be as simple as a file copy, it should also
modify the path as you wrote.
2) I think we have the same use-case: unity8. I'm now working on getting
Online Accounts to work inside a unity8 snap, but we might want to move
away from a monolitic approach and deliver some session services as
snaps. My understanding is that there might be a lightdm snap which will
presumably start the dbus user session, and unity8 will be another snap
which has all the D-Bus services we need (online accounts, EDS, content
hub, etc.).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1633520
Title:
Support dbus runtime relocation
Status in D-Bus:
Unknown
Status in dbus package in Ubuntu:
New
Status in snapd package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dbus/+bug/1633520/+subscriptions
More information about the foundations-bugs
mailing list