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

2015-10-19 Thread Shi, Yang
On 10/18/2015 7:10 PM, Serge Hallyn wrote: Quoting Shi, Yang (yang@linaro.org): On 10/15/2015 7:31 AM, Serge Hallyn wrote: Quoting Yang Shi (yang@linaro.org): 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

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

2015-10-18 Thread Serge Hallyn
Quoting Shi, Yang (yang@linaro.org): > On 10/15/2015 7:31 AM, Serge Hallyn wrote: > >Quoting Yang Shi (yang@linaro.org): > >>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. > >

[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 file changed, 13 inse

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

2015-10-15 Thread Shi, Yang
On 10/15/2015 7:31 AM, Serge Hallyn wrote: Quoting Yang Shi (yang@linaro.org): 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. What exactly was the file to get a segfault? When I try with a

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

2015-10-15 Thread Serge Hallyn
Quoting Yang Shi (yang@linaro.org): > 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. What exactly was the file to get a segfault? When I try with a device or a directory I do not get a

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

2015-10-14 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 file changed, 13 inse