Re: [lxc-devel] [RFC] [PATCH] lxc-fedora template - Add --fqdn option for utsname.

2013-05-23 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > 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.

Re: [lxc-devel] [RFC] [PATCH] lxc-fedora template - Add --fqdn option for utsname.

2013-05-23 Thread Michael H. Warfield
On Thu, 2013-05-23 at 10:41 -0500, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > 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 i

Re: [lxc-devel] [RFC] [PATCH] lxc-fedora template - Add --fqdn option for utsname.

2013-05-23 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > Which would (in my domain of WittsEnd.com) result in > "rasputin.ip6.wittsend.com" which is actually correct (.ip6. is my > IPv6-only subdomain), but could be a little confusing and probably > shouldn't be encouraged. Well, realistically the way

[lxc-devel] [PATCH] consolidate missing C library functions into utils.h

2013-05-23 Thread Dwight Engen
This fixes the build of lxccontainer.c on systems that have __NR_setns but not HAVE_SETNS. Signed-off-by: Dwight Engen --- src/lxc/attach.c | 34 +- src/lxc/bdev.c | 15 +-- src/lxc/lxccontainer.c | 17 + src/lxc/par

[lxc-devel] [PATCH] fix memory leaks in cgroup functions

2013-05-23 Thread Dwight Engen
There were several memory leaks in the cgroup functions, notably in the success cases. The cgpath test program was refactored and additional tests added to it. It was used in various modes under valgrind to test that the leaks were fixed. Simplify lxc_cgroup_path_get() and cgroup_path_get by havi