[systemd-devel] dbus inside nspawn container

Dimitri John Ledkov dimitri.j.ledkov at intel.com
Fri May 15 05:21:52 PDT 2015


On 15 May 2015 at 13:07, arnaud gaboury <arnaud.gaboury at gmail.com> wrote:
> Maybe a stupid question, but shall every container user start a per
> user dbus session ?
> Host has a dbus and user session activated, shall it be same in container?
>
> Thank you for hints

Depends what your container is... If it is a full system
installation/chroot the first pid inside container would be something
like an init which may start both system and user dbus when one logs
into it. (think VPS)
If you are executing a workload alone inside the container, that is
first pid is some httpd server then clearly one wouldn't have dbus at
all... (think workers / kubernetts / docker fleets etc.)

-- 
Regards,

Dimitri.
Pura Vida!

https://clearlinux.org
Open Source Technology Center
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.


More information about the systemd-devel mailing list