[lxc-devel] Alpha3 is getting close

2013-01-28 Thread Stéphane Graber
Hey everyone, So I'm planning on sending my alpha3 pull request to Daniel on the 11th of February, so in just two weeks. There are still a few more things I'd like to see make it into alpha3, here are the few I can remember at the moment: - Make sure we have a manpage for each binary and that it

Re: [lxc-devel] [PATCH v2] add lua binding for the lxc API

2013-01-28 Thread Stéphane Graber
On 01/24/2013 11:42 AM, Dwight Engen wrote: > The lua binding is based closely on the python binding. Also included are > a test program for excercising the binding, and an lxc-top utility for > showing statistics on running containers. > > Signed-off-by: Dwight Engen Test build passed and the c

Re: [lxc-devel] [PATCH] setup_mount_entries: ignore mount failure if 'optional'

2013-01-28 Thread Stéphane Graber
On 01/28/2013 05:57 PM, Serge Hallyn wrote: > > If 'optional' is in the mount options, then avoid failure in > mount(). > > Experiments suggest we could just do this checking data at > mount_entry(), but that feels less proper than using > hasmntopt() against the mntent. Now, that's the kind of

Re: [lxc-devel] name for 'optional' mount option

2013-01-28 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On 01/28/2013 04:42 PM, Serge Hallyn wrote: > > Hi, > > > > I want to add support to setup_mount_entries() to ignore the failure to > > mount an entry in /var/lib/lxc/container/fstab - i.e. if the mount src > > or target does not exist. > > > > the

[lxc-devel] [PATCH] setup_mount_entries: ignore mount failure if 'optional'

2013-01-28 Thread Serge Hallyn
If 'optional' is in the mount options, then avoid failure in mount(). Experiments suggest we could just do this checking data at mount_entry(), but that feels less proper than using hasmntopt() against the mntent. Signed-off-by: Serge Hallyn --- src/lxc/conf.c | 9 + 1 file changed, 9

Re: [lxc-devel] [PATCH] use a default per-container logfile (v2)

2013-01-28 Thread Stéphane Graber
On 01/24/2013 01:04 PM, Serge Hallyn wrote: > Until now, if a lxc-* (i.e. lxc-start) command did not specify a logfile > (with -o logfile), the default was effectively 'none'. With this patch, > the default becomes a per-container log file. > > If a container config file specifies 'lxc.logfile',

Re: [lxc-devel] name for 'optional' mount option

2013-01-28 Thread Stéphane Graber
On 01/28/2013 04:42 PM, Serge Hallyn wrote: > Hi, > > I want to add support to setup_mount_entries() to ignore the failure to > mount an entry in /var/lib/lxc/container/fstab - i.e. if the mount src > or target does not exist. > > the fstab manpage mentions 'optional' as a mount option in case th

[lxc-devel] name for 'optional' mount option

2013-01-28 Thread Serge Hallyn
Hi, I want to add support to setup_mount_entries() to ignore the failure to mount an entry in /var/lib/lxc/container/fstab - i.e. if the mount src or target does not exist. the fstab manpage mentions 'optional' as a mount option in case the fs is not known. mountall extends that so that it also

Re: [lxc-devel] [PATCH] oracle template: fix sudo lxc-create on ubuntu

2013-01-28 Thread Stéphane Graber
On 01/25/2013 05:41 PM, Dwight Engen wrote: > rpm on ubuntu puts the rpm db under $HOME, which wont be /root if > sudo is used > > Signed-off-by: Dwight Engen Acked-by: Stéphane Graber Pushed to staging. Thanks > --- > templates/lxc-oracle.in | 2 +- > 1 file changed, 1 insertion(+), 1 delet