[lxc-devel] [PATCH] Add missing manpages

2013-02-08 Thread Stéphane Graber
This introduces manpages for: - lxc-checkconfig - lxc-device - lxc-info - lxc-netstat - lxc-shutdown (wasn't in Makefile) - lxc-start-ephemeral - lxc-version This commit also sorts configure.ac and Makefile.am. Signed-off-by: Stéphane Graber --- configure.ac| 34 +++-

Re: [lxc-devel] [PATCH] add lxc-unshare man page, and make 'lxc-unshare -h' work.

2013-02-08 Thread Stéphane Graber
On 02/08/2013 06:32 PM, Serge Hallyn wrote: > > Also fix some tabs-as-spaces in lxc_unshare.c itself. > lxc-unshare: run usage() on '-h' > > Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber > --- > configure.ac| 1 + > doc/Makefile.am | 1 + > doc/lxc-unshare.sgm

[lxc-devel] [PATCH] add lxc-unshare man page, and make 'lxc-unshare -h' work.

2013-02-08 Thread Serge Hallyn
Also fix some tabs-as-spaces in lxc_unshare.c itself. lxc-unshare: run usage() on '-h' Signed-off-by: Serge Hallyn --- configure.ac| 1 + doc/Makefile.am | 1 + doc/lxc-unshare.sgml.in | 161 src/lxc/lxc_unshare.c | 16

[lxc-devel] [PATCH] Add man page for lxc-clone

2013-02-08 Thread Serge Hallyn
And doing so pointed out a bug in lxc-clone itself - it claims default fssize is 2G. It's not. Signed-off-by: Serge Hallyn --- configure.ac | 1 + doc/Makefile.am | 1 + doc/lxc-clone.sgml.in | 194 ++ src/lxc/lxc-clone.in |

[lxc-devel] [PATCH] lxc api: fix some config_path oddities

2013-02-08 Thread Serge Hallyn
1. When calling c->set_config_path(), update configfile. I.e. if we are setting the config_path to /var/lib/lxc, then the configfile should be changed to /var/lib/lxc/$container/config 2. Add an optional configpath argument to lxc_container_new. If NULL, then the default will be used (as before)

Re: [lxc-devel] [PATCH] lxc.functions isn't a shell script

2013-02-08 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > lxc.functions.in is meant to be sourced, not to be called as a script. > So as it's not executable and not meant to be, it shouldn't have > a /bin/sh shebang. > > This fixes an error reported by lintian. > > Signed-off-by: Stéphane Graber Oops.

[lxc-devel] [PATCH] lxc.functions isn't a shell script

2013-02-08 Thread Stéphane Graber
lxc.functions.in is meant to be sourced, not to be called as a script. So as it's not executable and not meant to be, it shouldn't have a /bin/sh shebang. This fixes an error reported by lintian. Signed-off-by: Stéphane Graber --- src/lxc/lxc.functions.in | 2 -- 1 file changed, 2 deletions(-)

Re: [lxc-devel] [PATCH] Drop lxc-setcap and lxc-setuid

2013-02-08 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > As discussed earlier this week, lxc-setcap and lxc-setuid have been > in pretty bad shape lately. Most if not all distros recommend against > using them or don't ship them at all. > > With the ongoing work to get user namespaces working in upstream

[lxc-devel] [PATCH] Drop lxc-setcap and lxc-setuid

2013-02-08 Thread Stéphane Graber
As discussed earlier this week, lxc-setcap and lxc-setuid have been in pretty bad shape lately. Most if not all distros recommend against using them or don't ship them at all. With the ongoing work to get user namespaces working in upstream LXC, we think it's best to drop those two now as we prepa

Re: [lxc-devel] [PATCH] Switch from use of LXCPATH to a configurable default_lxc_path

2013-02-08 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Looks good to me. > > Acked-by: Stéphane Graber Thanks, > I'll update the python binding and send the result to the mailing-list. Note it's not just the python binding. The python scripts (lxc-ls, lxc-start-ephemeral, and lxc-device at least) m

Re: [lxc-devel] [PATCH] Switch from use of LXCPATH to a configurable default_lxc_path

2013-02-08 Thread Stéphane Graber
On 02/06/2013 04:11 PM, Serge Hallyn wrote: > Here is a patch to introduce a configurable system-wide > lxcpath. It seems to work with lxc-create, lxc-start, > and basic python3 lxc usage through the api. > > For shell functions, a new /usr/share/lxc/lxc.functions is > introduced which sets some

[lxc-devel] Log of yesterday's user namespace irc session

2013-02-08 Thread Serge Hallyn
I've put it up at https://wiki.ubuntu.com/LxcUsernsIrcChat . -serge -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p