]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/machine-pool.c
importd: take a lock while we set up /var/lib/machines/
authorLennart Poettering <lennart@poettering.net>
Sun, 1 Mar 2015 15:46:50 +0000 (16:46 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Mar 2015 11:15:25 +0000 (12:15 +0100)
commit403e5b32301cab098151814acbd08821475c00c3
tree1cd0ed39fcb774ffbde17ddd04591241e38aec01
parent432cea008720480f6eaae7e75e6ad255e91fe2b4
importd: take a lock while we set up /var/lib/machines/

This way, we can safely set up the directories from two processes at the
same time, including machined and importd simultaneously.
src/shared/machine-pool.c