<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 15 February 2016 at 01:59,  <span dir="ltr">&lt;<a href="mailto:kai.kang@windriver.com" target="_blank">kai.kang@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2u7" class="a3s" style="overflow:hidden">+               eval flock -x -w 100 $rootdir/tmp/user-and-group-ops.flock -c  \&#39;$PSEUDO useradd $opts\&#39; || true<br></div></blockquote></div><br>This is a great patch, but why not just flock $rootdir/etc instead of new file in tmp?    Surely images end up being created with /tmp/user-and-group-ops.flock in them?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>