On 2016年02月15日 20:31, Burton, Ross wrote:
On 15 February 2016 at 01:59, <[email protected] <mailto:[email protected]>> wrote:+ eval flock -x -w 100 $rootdir/tmp/user-and-group-ops.flock -c \'$PSEUDO useradd $opts\' || trueThis 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?
I didn't try to think take a directory as a lock and I'll try it. For the lock file in $rootdir/tmp/, it is ok that /tmp will be remounted and user won't see the lock file.
Thanks, Kai
Ross
-- Regards, Neil | Kai Kang
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
