Re: [lxc-devel] [PATCH] lxc: introduce lxc_execute()

2011-10-24 Thread Daniel Lezcano
On 10/17/2011 08:47 PM, Greg Kurz wrote: This patch allows to create application containers with liblxc.so directly. Some code cleanups on the way: - separate ops for lxc_execute() and lxc_start(): the factorisation is wrong here as we may have specific things to do if we're running an

Re: [lxc-devel] [PATCH] Don't list containers w/ active console sessions multiple times

2011-10-24 Thread Daniel Lezcano
On 09/14/2011 07:03 PM, Rainer Weikusat wrote: From: Rainer Weikusat rweiku...@mobileactivedefense.com The lxc-ls shell script uses netstat -xa to get a listing of AF_UNIX sockets it then parses in order to determine the names of presently running containers. This is wrong because it will