Re: [vserver] Systemd and EL7

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 13 Feb 2015 - 16:28:17 GMT
Message-ID: <20150213162817.GC1230@MAIL.13thfloor.at>

On Fri, Feb 13, 2015 at 03:12:28PM +0100, Carlos Alberto Lopez Perez wrote:
> On 14/01/15 22:52, Herbert Poetzl wrote:
>> I think the main problem is that systemd doesn't do proper
>> logging when something goes wrong, an so it becomes very
>> tricky to debug.

>> If you tell me what fails and why it fails, then it is
>> probably very simple to add this or that exception to the
>> Linux-VServer patches to "make it work".

> AFAIK systemd has to be taught to detect containers, so it
> stop doing things that are not permitted or don't make sense
> when running inside a container.

> And it seems to me that still nobody implemented the support
> for detecting vserver containers:

> http://www.freedesktop.org/software/systemd/man/systemd-detect-virt.html

> As you can see, there is support for many containers but vserver.

But this suggests, that you can simply replace the
systemd-detect-virt binary with a script which prints
Linux-VServer and exits with 0 (success).

Best,
Herbert
Received on Fri Feb 13 16:28:27 2015

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 13 Feb 2015 - 16:28:27 GMT by hypermail 2.1.8