Re: [libvirt] [PATCH v2] lxc: create the required directories upon driver start

2015-04-09 Thread Cedric Bosdonnat
Hi Lubomir, On Wed, 2015-04-08 at 19:16 +0200, Lubomir Rintel wrote: > /var/run may reside on a tmpfs and we fail to create the PID file if > /var/run/lxc does not exist. I would enhance the commit message with something like this: Since commit 0a8addc1, the lxc driver's state directory isn't au

[libvirt] [PATCH v2] lxc: create the required directories upon driver start

2015-04-08 Thread Lubomir Rintel
/var/run may reside on a tmpfs and we fail to create the PID file if /var/run/lxc does not exist. [cbosdon...@suse.com: use cfg->stateDir instead of LXC_STATE_DIR] Signed-off-by: Lubomir Rintel --- src/lxc/lxc_driver.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/lxc/lxc_drive