Re: [lxc-devel] [PATCH 3/4] templates: Consistent use of locking

2012-12-06 Thread Stéphane Graber
On 12/06/2012 12:14 AM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> Move to per-template lock (except for oracle that's per-container). >> Also ensure that the path used for the lock is relative to LOCALSTATEDIR. >> >> Signed-off-by: Stéphane Graber > > I believe a few

Re: [lxc-devel] [PATCH 3/4] templates: Consistent use of locking

2012-12-05 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Move to per-template lock (except for oracle that's per-container). > Also ensure that the path used for the lock is relative to LOCALSTATEDIR. > > Signed-off-by: Stéphane Graber I believe a few conversions to LOCALSTATEDIR were missed in mkdirs,

[lxc-devel] [PATCH 3/4] templates: Consistent use of locking

2012-12-05 Thread Stéphane Graber
Move to per-template lock (except for oracle that's per-container). Also ensure that the path used for the lock is relative to LOCALSTATEDIR. Signed-off-by: Stéphane Graber --- templates/lxc-altlinux.in | 4 ++-- templates/lxc-debian.in | 4 ++-- templates/lxc-fedora.in | 4 ++--