[systemd-devel] Should user mode linux register with machined?
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Sep 16 16:09:38 PDT 2014
On Tue, Sep 16, 2014 at 05:31:05PM +0200, Thomas Meyer wrote:
> Hi,
>
> I wrote a small patch for user-mode linux to register with machined by
> calling "CreateMachine". Is this a good idea to do so?
Yes, this sounds useful. After all is just another mechanism of
virtualization, and in this case can be treated similarly to
containers and vms.
> PS: I wonder what happens when I write a service unit file that starts
> an user mode linux instance and that instance will register with
> machined? won't both control groups overlap, i.e. the scope unit and the
> service unit? or is this not a problem?
systemd-nspawn has --keep-unit. You probably need something similar
to disable the creation of scope.
Zbyszek
More information about the systemd-devel
mailing list