[lxc-devel] Patch to fix cgroups.c NULL deref (lxc-info setfault). Was Re: multiple cgroup instances fixes

2011-06-27 Thread Michael H. Warfield
Hey Daniel, You may have already picked this up out of that other longer thread on -users but I decided to be safe and repost it here as an attachment. This is the patch applied to both Serge's patch and your subsequent patch to fix the lxc-info breakage by spotting and avoiding a NULL pointer der

Re: [lxc-devel] multiple cgroup instances fixes

2011-06-27 Thread Serge Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): > Hi Serge, > > your patch was doing a nested call to the setmntent which is not reentrant. > > Fixed with the patch in attachment. Some other nits fixed too. Looks good, thanks. Acked-by: Serge Hallyn Once this all settles down, we can of cour

Re: [lxc-devel] PATCH: openSUSE template for LXC

2011-06-27 Thread Daniel Lezcano
On 06/27/2011 10:03 AM, Frederic Crozat wrote: > Le samedi 25 juin 2011 à 23:25 +0200, Daniel Lezcano a écrit : >> On 06/24/2011 05:28 PM, Frederic Crozat wrote: >>> Hi all, >>> >>> attached patch is a openSUSE 11.4 template for LXC. >>> >>> The good news is, starting with next openSUSE release (an

Re: [lxc-devel] PATCH: openSUSE template for LXC

2011-06-27 Thread Frederic Crozat
Le samedi 25 juin 2011 à 23:25 +0200, Daniel Lezcano a écrit : > On 06/24/2011 05:28 PM, Frederic Crozat wrote: > > Hi all, > > > > attached patch is a openSUSE 11.4 template for LXC. > > > > The good news is, starting with next openSUSE release (and next SLES 11 > > Service Pack), patching /etc/in