[systemd-devel] dbus inside nspawn container
simon.mcvittie at collabora.co.uk
Fri May 15 07:23:56 PDT 2015
On 15/05/15 14:17, Lennart Poettering wrote:
> On Fri, 15.05.15 14:07, arnaud gaboury (arnaud.gaboury at gmail.com) wrote:
>> Maybe a stupid question, but shall every container user start a per
>> user dbus session ?
> We make not real distinction there. We intend to provide the same
> execution environment to processes running in a container as to those
> running on the host
Yes. As a result, you would have a `dbus-daemon --session` per user
inside the container, if and only if the same OS running on real
hardware would have a `dbus-daemon --session` per user (the "user bus"
In practice this means you get a `dbus-daemon --session` per user if you
have dbus >= 1.9.14 compiled with the --enable-user-session option, and
systemd, inside the container.
Similarly, kdbus systems (inside or outside a container) always get a
"user bus" per user, as far as I understand it.
Collabora Ltd. <http://www.collabora.com/>
More information about the systemd-devel