Re: [libvirt] [PATCH] Add ability to set rlimits at container boot

2015-03-02 Thread Ryan Cleere
5 at 11:44 AM, Richard Weinberger wrote: > Ryan, > > Am 23.02.2015 um 18:37 schrieb Ryan Cleere: > > Richard, > > > > I have to disagree that it should require idmap. It is true that without > idmap the container can freely set it's own rlimits, but I be

Re: [libvirt] [PATCH] Add ability to set rlimits at container boot

2015-01-30 Thread Ryan Cleere
etrlimit(2) manpage and can't understand why they can't set the limit they are interested in. Ryan On Fri, Jan 30, 2015 at 9:02 AM, Daniel P. Berrange wrote: > On Fri, Jan 30, 2015 at 08:53:20AM -0600, Ryan Cleere wrote: > > --- > > docs/formatdomain.html.in | 49 ++

[libvirt] [PATCH] Add ability to set rlimits at container boot

2015-01-30 Thread Ryan Cleere
--- docs/formatdomain.html.in | 49 +++ docs/schemas/domaincommon.rng | 89 + src/conf/domain_conf.c| 92 +++ src/conf/domain_conf.h| 33 src/libvirt_private.sym

[libvirt] [PATCH] Add ability to set rlimits at container boot

2015-01-29 Thread Ryan Cleere
--- docs/formatdomain.html.in | 49 +++ docs/schemas/domaincommon.rng | 89 + src/conf/domain_conf.c| 92 +++ src/conf/domain_conf.h| 33 src/libvirt_private.sym

Re: [libvirt] [PATCH] Add rlimits to lxc

2015-01-29 Thread Ryan Cleere
limit, not increase them. This patch allows me to set the starting RLLIMIT_NOFILE limits I want at container boot and can be changed per container. In my next reply you will find my new patch addressing your criticisms. Thanks Ryan On Wed, Dec 10, 2014 at 8:18 AM, Michal Privoznik wrote: > On

[libvirt] [PATCH] Add rlimits to lxc

2014-12-06 Thread Ryan Cleere
--- src/conf/domain_conf.c | 115 +++ src/conf/domain_conf.h | 12 + src/lxc/lxc_controller.c | 12 + src/util/virprocess.c| 4 +- src/util/virprocess.h| 3 ++ 5 files changed, 144 insertions(+), 2 deletions(-) diff --git a/src