Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-10 Thread Lennart Poettering
On Fri, 11.04.14 02:23, Lennart Poettering (lenn...@poettering.net) wrote: > > On Wed, 09.04.14 19:39, Richard Weinberger (rich...@nod.at) wrote: > > > I'm also fine with ignoring OOMScoreAdjust if it fails. > > All I want is a painless Linux userspace on top of systemd within > > my Containers.

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-10 Thread Lennart Poettering
On Wed, 09.04.14 19:39, Richard Weinberger (rich...@nod.at) wrote: > I'm also fine with ignoring OOMScoreAdjust if it fails. > All I want is a painless Linux userspace on top of systemd within > my Containers. :-) It appears to me as if this should just result in a debug message that the oom scor

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-09 Thread Cristian Rodríguez
El 09/04/14 16:41, Richard Weinberger escribió: e other things like this too I suppose). Okay, I'll send patches for OOMScoreAdjust and other settings to ignore failures. This way systemd can also support containers without user namespaces. No matter how useful these are. (hello docker.io folks

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-09 Thread Richard Weinberger
Am 09.04.2014 20:28, schrieb Tom Gundersen: > On Wed, Apr 9, 2014 at 7:39 PM, Richard Weinberger wrote: >> Am 09.04.2014 19:19, schrieb Tom Gundersen: >>> On Mon, Apr 7, 2014 at 9:47 PM, Richard Weinberger wrote: At least LXC does not allow the container root to change the OOM Score adj

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-09 Thread Tom Gundersen
On Wed, Apr 9, 2014 at 7:39 PM, Richard Weinberger wrote: > Am 09.04.2014 19:19, schrieb Tom Gundersen: >> On Mon, Apr 7, 2014 at 9:47 PM, Richard Weinberger wrote: >>> At least LXC does not allow the container root to change >>> the OOM Score adjust value. >>> >>> Signed-off-by: Richard Weinberg

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-09 Thread Richard Weinberger
Am 09.04.2014 19:19, schrieb Tom Gundersen: > On Mon, Apr 7, 2014 at 9:47 PM, Richard Weinberger wrote: >> At least LXC does not allow the container root to change >> the OOM Score adjust value. >> >> Signed-off-by: Richard Weinberger >> --- >> Hi! >> >> Within Linux containers we cannot use OOMS

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-09 Thread Tom Gundersen
On Mon, Apr 7, 2014 at 9:47 PM, Richard Weinberger wrote: > At least LXC does not allow the container root to change > the OOM Score adjust value. > > Signed-off-by: Richard Weinberger > --- > Hi! > > Within Linux containers we cannot use OOMScoreAdjust nor > CapabilityBoundingSet (and maybe > m

[systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-07 Thread Richard Weinberger
At least LXC does not allow the container root to change the OOM Score adjust value. Signed-off-by: Richard Weinberger --- Hi! Within Linux containers we cannot use OOMScoreAdjust nor CapabilityBoundingSet (and maybe more related settings). This patch tells systemd to ignore OOMScoreAdjust if i