Re: [lxc-devel] [PATCH] lxc-create: fix that creation fails if lxc.rootfs is set

2013-10-25 Thread Young Sheng
On Fri, Oct 25, 2013 at 9:55 PM, Serge Hallyn wrote: > Quoting Sheng Yong (shy...@gmail.com): > > [code] ### lxccontainer.c: > > if (lxcapi_is_defined(c) && c->lxc_conf && c->lxc_conf->rootfs.path && > access(c->lxc_conf->rootfs.path, F_OK) == 0) > > goto out; > > [/code] > > > >

Re: [lxc-devel] [PATCH] lxc-create: fix that creation fails if lxc.rootfs is set

2013-10-25 Thread Serge Hallyn
Quoting Sheng Yong (shy...@gmail.com): > [code] ### lxccontainer.c: > if (lxcapi_is_defined(c) && c->lxc_conf && c->lxc_conf->rootfs.path && > access(c->lxc_conf->rootfs.path, F_OK) == 0) > goto out; > [/code] > > If lxc.rootfs is set and no failure happens before we check >