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

2015-04-08 Thread Ján Tomko
On Tue, Apr 07, 2015 at 04:29:42PM +0200, Lubomir Rintel wrote: Hi Cedric, On Tue, 2015-04-07 at 16:18 +0200, Cedric Bosdonnat wrote: Hello Lubomir On Tue, 2015-04-07 at 15:37 +0200, Lubomir Rintel wrote: /var/run may reside on a tmpfs and we fail to create the PID file if

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

2015-04-07 Thread Lubomir Rintel
Hi Cedric, On Tue, 2015-04-07 at 16:18 +0200, Cedric Bosdonnat wrote: Hello Lubomir On Tue, 2015-04-07 at 15:37 +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. Just mentioning the fact that this folder may

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

2015-04-07 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. Other drivers (well, BHYVE) seem to do the same thing. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- src/lxc/lxc_driver.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

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

2015-04-07 Thread Cedric Bosdonnat
Hello Lubomir On Tue, 2015-04-07 at 15:37 +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. Just mentioning the fact that this folder may not exist is OK. We have the same problem right after the libvirt installation