]> git.ipfire.org Git - thirdparty/lxc.git/commit
use $LOCALSTATEDIR/lock/subsys/lxc-ubuntu$release as lock filename
authorS.Çağlar Onur <caglar@10ur.org>
Sat, 7 Dec 2013 22:52:14 +0000 (17:52 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 9 Dec 2013 20:04:46 +0000 (15:04 -0500)
commit802f869f4096b1be3d8c4d8615788e6817bb5d14
tree922fd920e259405e7287b0a3c9cb28f5599b97b1
parent826eb798825af0106bc2d475a5417dcf7152011d
use $LOCALSTATEDIR/lock/subsys/lxc-ubuntu$release as lock filename

Otherwise one cannot create two containers with different releases
(let's say saucy [cached] and raring [not caced]) if both are not
cached on the local filesystem already. The lock blocks cached
one to move forward until not cached one finishes it's downloads.

Fix that by seperating locks using release names

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-ubuntu.in