<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel">
    <title>gmane.linux.kernel.containers.lxc.devel</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3481"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3480"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3479"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3478"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3477"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3476"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3475"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3474"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3473"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3472"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3471"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3470"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3469"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3468"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3467"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3466"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3465"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3464"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3463"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3462"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3481">
    <title>Re: [PATCH] fix getline(3) memory leaks</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3481</link>
    <description>&lt;pre&gt;Hi there,


I'm a bit confused, this goes against everything I know about C memory
management:

ANSI C (ANSI X3J11/88-090, May 13, 1988) [1], Section 4.10.3.2:

  If ptr is a null pointer, no action occurs.

ISO C (ISO/IEC 9899:TC3) [2], Section 7.20.3.2:

  If ptr is a null pointer, no action occurs.

POSIX.1-2008 [3], free function definition:

  If ptr is a null pointer, no action shall occur.

free(3) manpage, Linux:

  If ptr is NULL, no operation is performed.

Test case (volatile to make the compiler not optimize it away):

#include &amp;lt;stdlib.h&amp;gt;

int main(int argc, char **argv)
{
  void * volatile ptr = NULL;
  free(ptr);
  return 0;
}

Works fine on my system.

I have yet to see an implementation of free() which does not implement
this. Ok, maybe there is one from ancient times, but any current Linux
library should have no problems with this,  otherwise I would consider
that to be a serious bug. A *lot* of code I've read through in lots of
different open source projects actually relies on this fact.

&lt;/pre&gt;</description>
    <dc:creator>Christian Seiler</dc:creator>
    <dc:date>2013-05-22T07:16:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3480">
    <title>Re: [PATCH] fix getline(3) memory leaks</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3480</link>
    <description>&lt;pre&gt;Quoting Dwight Engen (dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

Yeah I've tested before (because I used to want to think glibc would
check for that) and it definately segvs.  I'll push this patch with
that added.

Acked-by: Serge E. Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;



------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-22T01:27:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3479">
    <title>Re: [PATCH] fix getline(3) memory leaks</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3479</link>
    <description>&lt;pre&gt;On Tue, 21 May 2013 17:07:54 -0500
Serge Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


Hmm, I guess that would be good defensive programming but it seemed
unlikely to me that getline() would find no lines
in /proc/&amp;lt;pid&amp;gt;/status. line was initialized to NULL, so at worst we'd
free(NULL), which I guess not every free() handles well. If you think
we should put the if in I'm fine with that :)



------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Dwight Engen</dc:creator>
    <dc:date>2013-05-21T22:59:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3478">
    <title>Re: [PATCH] fix getline(3) memory leaks</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3478</link>
    <description>&lt;pre&gt;Quoting Dwight Engen (dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

does this need to be

if (line)
free(line);
?


------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T22:07:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3477">
    <title>Re: [PATCH] oracle template: mount /dev/shm as tmpfs</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3477</link>
    <description>&lt;pre&gt;Quoting Dwight Engen (dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

Acked-by: Serge E. Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;


I'm acking this anyway, but I'd point out that this looks like it
will turn out as a rootfs which no longer is booted under kvm the
exact same way as in a container.  It'll still boot so really no
big deal...


------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T21:47:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3476">
    <title>Re: [PATCH] lxc-fedora template.  Cleanup for rootfs.</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3476</link>
    <description>&lt;pre&gt;Quoting Michael H. Warfield (mhw-BetbSzk+GohWk0Htik3J/w&amp;lt; at &amp;gt;public.gmane.org):

Acked-by: Serge E. Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

(This'll cause a minor conflict with the create-api patch.  It'll
be trivial to resolve, so long as it isn't *ignored* )







------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T21:42:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3475">
    <title>Re: [PATCH] fix build with --enable-tests</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3475</link>
    <description>&lt;pre&gt;Quoting Dwight Engen (dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

d'oh.  thanks.

Acked-by: Serge E. Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;


------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T21:39:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3474">
    <title>[PATCH] fix getline(3) memory leaks</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3474</link>
    <description>&lt;pre&gt;Signed-off-by: Dwight Engen &amp;lt;dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 src/lxc/attach.c | 2 +-
 src/lxc/cgroup.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lxc/attach.c b/src/lxc/attach.c
index a7e9074..d8b4915 100644
--- a/src/lxc/attach.c
+++ b/src/lxc/attach.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -114,6 +114,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct lxc_proc_context_info *lxc_proc_get_context_info(pid_t pid)
 }
 }
 
+free(line);
 fclose(proc_file);
 
 if (!found) {
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -145,7 +146,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct lxc_proc_context_info *lxc_proc_get_context_info(pid_t pid)
 
 out_error:
 free(info);
-free(line);
 return NULL;
 }
 
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index 44266de..2ffbb54 100644
--- a/src/lxc/cgroup.c
+++ b/src/lxc/cgroup.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -503,6 +503,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static char *get_all_cgroups(void)
 }
 
 out:
+free(line);
 fclose(f);
 return ret;
 }
&lt;/pre&gt;</description>
    <dc:creator>Dwight Engen</dc:creator>
    <dc:date>2013-05-21T19:36:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3473">
    <title>[RFC] [PATCH] lxc-fedora template - Add --fqdn optionfor utsname.</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3473</link>
    <description>&lt;pre&gt;All,

After comments from Serge, attached is a suggested patch to the Fedora
template to incorporate the FQDN (Fully Qualified Domain Name) of the
container as the utsname in the container configuration and in the host
name of the system.  It adds a "--fqdn" long option to explicitly
specify the value for utsname and hostname.

The logic contains one default behavior change.  If an FQDN is not
specified or is a host simple name, the logic will use the domain name
of the host appended to either the container name or the simple name to
generate an FQDN.

There were some comments on the -users list about determining the name
of a container based on it's host name.  That's never a good idea
anyways because they can be independently changed but this would also
change the default case.  Please looks that over and comment.  Other
container owners might consider a similar modification.

Regards,
Mike
&lt;/pre&gt;</description>
    <dc:creator>Michael H. Warfield</dc:creator>
    <dc:date>2013-05-21T18:47:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3472">
    <title>[PATCH] lxc-fedora template.  Cleanup for rootfs.</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3472</link>
    <description>&lt;pre&gt;This is just some minor changes in the way the Fedora template is
synthesizing the target rootfs_path.  Currently, the template uses a
path with the container in it twice like this:

/var/lib/lxc/rasputin/rasputin/rootfs

This happens because the container name is already contained in the
"path" and the template appends it a second time.  This changes the
logic to be congruent with other templates such as lxc-arch.  The new
behavior will be to create the rootfs like this:

/var/lib/lxc/rasputin/rootfs

Attached below the jump.

Regards,
Mike
&lt;/pre&gt;</description>
    <dc:creator>Michael H. Warfield</dc:creator>
    <dc:date>2013-05-21T18:17:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3471">
    <title>[PATCH] fix build with --enable-tests</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3471</link>
    <description>&lt;pre&gt;Signed-off-by: Dwight Engen &amp;lt;dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 src/lxc/lxccontainer.h |  1 +
 src/tests/cgpath.c     |  3 ++-
 src/tests/clonetest.c  | 10 +++++-----
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/lxc/lxccontainer.h b/src/lxc/lxccontainer.h
index bf3168c..22ccb0b 100644
--- a/src/lxc/lxccontainer.h
+++ b/src/lxc/lxccontainer.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -103,6 +103,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct lxc_container {
  *  then the original backing store's size will be used if possible.  Note this
  *  only applies to the rootfs.  For any other filesystems, the original size
  *  will be duplicated.
+ * &amp;lt; at &amp;gt;hookargs: additional arguments to pass to the clone hook script
  */
 struct lxc_container *(*clone)(struct lxc_container *c, const char *newname,
 const char *lxcpath, int flags, const char *bdevtype,
diff --git a/src/tests/cgpath.c b/src/tests/cgpath.c
index b7f0885..2497e9e 100644
--- a/src/tests/cgpath.c
+++ b/src/tests/cgpath.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -27,6 +27,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #include &amp;lt;errno.h&amp;gt;
 #include "../lxc/&lt;/pre&gt;</description>
    <dc:creator>Dwight Engen</dc:creator>
    <dc:date>2013-05-21T17:30:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3470">
    <title>Re: [PATCH] fix minor gcc 4.7.2 error</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3470</link>
    <description>&lt;pre&gt;
Oops, forgot to test-build with that last minute change...

Acked-by: Stéphane Graber &amp;lt;stgraber-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;



&lt;/pre&gt;</description>
    <dc:creator>Stéphane Graber</dc:creator>
    <dc:date>2013-05-21T17:18:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3469">
    <title>[PATCH] fix minor gcc 4.7.2 error</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3469</link>
    <description>&lt;pre&gt;lxccontainer.c:874:4: error: ‘for’ loop initial declarations are only
allowed in C99 mode

Signed-off-by: Dwight Engen &amp;lt;dwight.engen&amp;lt; at &amp;gt;oracle.com&amp;gt;
---
 src/lxc/lxccontainer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c
index 7ce25c6..2934afa 100644
--- a/src/lxc/lxccontainer.c
+++ b/src/lxc/lxccontainer.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -871,7 +871,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; out:
 count++;
 temp = realloc(addresses, count * sizeof(*addresses));
 if (!temp) {
-for (int i = 0; i &amp;lt; count-1; i++)
+int i;
+for (i = 0; i &amp;lt; count-1; i++)
 free(addresses[i]);
 free(addresses);
 return NULL;
&lt;/pre&gt;</description>
    <dc:creator>Dwight Engen</dc:creator>
    <dc:date>2013-05-21T17:15:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3468">
    <title>[PATCH] oracle template: mount /dev/shm as tmpfs</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3468</link>
    <description>&lt;pre&gt;sem_open(3) checks that /dev/shm is SHMFS_SUPER_MAGIC. Normally /dev/shm
is mounted in the initramfs created by dracut, but that won't be run for
a container so make sure that rc.sysinit mounts /dev/shm.

Signed-off-by: Dwight Engen &amp;lt;dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 templates/lxc-oracle.in | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in
index 946956d..70ef632 100644
--- a/templates/lxc-oracle.in
+++ b/templates/lxc-oracle.in
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -142,6 +142,17 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; EOF
         sed -i 's|action $"Setting network parameters|# LXC action $"Setting network parameters|' $container_rootfs/etc/init.d/NetworkManager 2&amp;gt;/dev/null
     fi
 
+    # sem_open(3) checks that /dev/shm is SHMFS_SUPER_MAGIC, so make sure to mount /dev/shm (normally done by dracut initrd) as tmpfs
+    if [ $container_release_major = "4" -o $container_release_major = "5" ]; then
+        echo "mount -t tmpfs tmpfs /dev/shm" &amp;gt;&amp;gt;$container_rootfs/etc/rc.sysinit
+        ech&lt;/pre&gt;</description>
    <dc:creator>Dwight Engen</dc:creator>
    <dc:date>2013-05-21T15:34:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3467">
    <title>Re: [PATCH] extend command processor to handle generic data</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3467</link>
    <description>&lt;pre&gt;Quoting Dwight Engen (dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

Right, thanks.

-serge

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T15:05:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3466">
    <title>Re: [PATCH V2] lxcapi: Add new get_ips() call</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3466</link>
    <description>&lt;pre&gt;Quoting Stéphane Graber (stgraber-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

Acked-by: Serge E. Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;


------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T15:04:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3465">
    <title>Re: [PATCH] extend command processor to handle generic data</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3465</link>
    <description>&lt;pre&gt;On Tue, 21 May 2013 08:18:01 -0500
Serge Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


Creating a container using the API/bindings creates a new c, and
c-&amp;gt;lxc_conf contains a parse of the on-disk configuration as it
exists at the time of the lxcContainer() call but may not reflect an
already running c1. I specifically wanted to know the veth pair name of
an already running container, and I think it may be useful to know other
configuration items of a running container which may differ from what
is currently on disk.



------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Dwight Engen</dc:creator>
    <dc:date>2013-05-21T14:44:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3464">
    <title>[PATCH V2] lxcapi: Add new get_ips() call</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3464</link>
    <description>&lt;pre&gt;This adds a new get_ips call which takes a family (inet, inet6 or NULL),
a network interface (or NULL for all) and a scope (0 for global) and returns
a char** of all the IPs in the container.

This also adds a matching python3 binding (function result is a tuple) and
deprecates the previous pure-python get_ips() implementation.

WARNING: The python get_ips() call is quite different from the previous
implementation. The timeout argument has been removed, the family names are
slightly different (inet/inet6 vs ipv4/ipv6) and an extra scope parameter
has been added.

Signed-off-by: Stéphane Graber &amp;lt;stgraber&amp;lt; at &amp;gt;ubuntu.com&amp;gt;
---
 src/lxc/lxccontainer.c              | 116 ++++++++++++++++++++++++++++++++++++
 src/lxc/lxccontainer.h              |   1 +
 src/python-lxc/examples/api_test.py |   9 ++-
 src/python-lxc/lxc.c                |  61 +++++++++++++++++++
 src/python-lxc/lxc/__init__.py      |  61 -------------------
 5 files changed, 186 insertions(+), 62 deletions(-)

diff --git a/src/lxc/lxccontainer.c b/src/l&lt;/pre&gt;</description>
    <dc:creator>Stéphane Graber</dc:creator>
    <dc:date>2013-05-21T14:41:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3463">
    <title>Re: Question about a "real" LXC library</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3463</link>
    <description>&lt;pre&gt;Quoting Jon Taylor (dosadi82-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org):

See /usr/include/lxc/lxccontainer.h for the 'real' lxc library, which is
still being developed.  It still has to shell out for some things, like
zfs device handling, and it will always call out to the templates to
fill in new container root filesystems (though you can compile your own
templates as c code if you like).  But many of the shell scripts are
being replaced by c code and exported to lua/python3/go.

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T13:42:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3462">
    <title>Re: [PATCH] extend command processor to handle generic data</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3462</link>
    <description>&lt;pre&gt;Quoting Dwight Engen (dwight.engen-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

Working great on my box - thanks.

Acked-by: Serge E. Hallyn &amp;lt;serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

It seems like a general cleanup, but I'm wondering what your motivation
was for the get-config command?  Programs using the struct
lxc_container API or lua/python3 bindings can after all just do

import lxc
c = lxcContainer('c1', NULL);
c.get_config_item('lxc.rootfs')


------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T13:18:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3461">
    <title>Re: [PATCH] lxcapi: Add new get_ips() call</title>
    <link>http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.devel/3461</link>
    <description>&lt;pre&gt;Quoting Stéphane Graber (stgraber-GeWIH/nMZzLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org):

I think you're better off, in this case, doing something like

if (!temp) {
free(addresses[count-2]);
addresses[count-2] = NULL;
} else {
addresses = temp;
addresses[count - 1] = NULL;
}

That, or free everything.  But as it is, you are leaking memory here.

Otherwise, looks good - thanks!

-serge

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, &amp;amp; servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
&lt;/pre&gt;</description>
    <dc:creator>Serge Hallyn</dc:creator>
    <dc:date>2013-05-21T04:20:33</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.linux.kernel.containers.lxc.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.linux.kernel.containers.lxc.devel</link>
  </textinput>
</rdf:RDF>
