Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Christian Brauner
On Oct 16, 2015 19:11, "Serge Hallyn" wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > > On Thu, Oct 15, 2015 at

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > On Thu, Oct 15, 2015 at 08:32:25PM +, Serge Hallyn wrote: > > > > Quoting Christian Brauner

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Fri, Oct 16, 2015 at 05:11:02PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > > > Quoting Christian Brauner

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Christian Brauner
On Fri, Oct 16, 2015 at 05:11:02PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > > On Thu, Oct 15, 2015 at 08:32:25PM

[lxc-devel] lxc.device instead of lxc-device?

2015-10-16 Thread Harald Dunkel
Hi folks, would it be possible to have an option "lxc.device" in the config file, e.g. lxc.autodev = 1 lxc.device = /dev/vg00/lv01 lxc.device = /dev/vg00/lv02 It should make the block devices available to the client, similar to the lxc-device script, but before init and

Re: [lxc-devel] lxc.device instead of lxc-device?

2015-10-16 Thread Serge Hallyn
It sounds fine, though I won't have time to work on it anytime soon. Either a patch or a request on github.com/lxc/lxc/issues so someone else who is interested can write the patch, would be a step forward. -serge Quoting Harald Dunkel (harald.dun...@aixigo.de): > Hi folks, > > would it be

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Thu, Oct 15, 2015 at 08:32:25PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > The mount_entry_create_*_dirs() functions currently assume that the > > > rootfs of > > > the container

[lxc-devel] [PATCH] lxc_start: report error message when config is not a regular file

2015-10-16 Thread Yang Shi
When run the below command: lxc-start -n name -f /path/to/config If config is not a regular file, lxc-start will be killed by SEG FAULT directly. Exit with some error message to improve user experience. Signed-off-by: Yang Shi --- src/lxc/lxc_start.c | 13 + 1

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Christian Brauner
On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > On Thu, Oct 15, 2015 at 08:32:25PM +, Serge Hallyn wrote: > > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > > The mount_entry_create_*_dirs()