]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix failed to fallback at lxclock_name 408/head
authorKohei YOSHIDA <kohei.yoshida@gehirn.co.jp>
Thu, 22 Jan 2015 06:16:39 +0000 (15:16 +0900)
committerKohei YOSHIDA <kohei.yoshida@gehirn.co.jp>
Thu, 22 Jan 2015 06:16:39 +0000 (15:16 +0900)
commit669b632579c213da730c783ad13472fe8835480b
tree308e8895d1281a410659e2249f4c044037cb0a84
parent3e73d667577102f9286f18f773de174d4fe810bb
fix failed to fallback at lxclock_name

lxclock_name will fallback to /tmp/$(id -u)/lxc$lxcpath/.$lxcname when failed
to create directories into rundir. But, in currently, lxclock_name returns
untill preparing directories under the /tmp, so invoker will fail to get
the container lock.  This patch fixes fixes this.

Signed-off-by: Kohei YOSHIDA <kohei.yoshida@gehirn.co.jp>
src/lxc/lxclock.c