<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2016年02月16日 20:09, Burton, Ross
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJTo0LYOpP40zsTFKahoMzU1caXH+=qTUwgAAy1aV--pK_-E_g@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 16 February 2016 at 07:14, <span
              dir="ltr">&lt;<a moz-do-not-send="true"
                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=":4lc" class="a3s" style="overflow:hidden">+FLOCK_FILE=$SYSROOT/etc<br>
              </div>
            </blockquote>
          </div>
          <br>
          useradd_base is also used by extrausers.bbclass, so it would
          be best if useradd_base decided where to use as a lock
          ($rootdir/${sysconfdir} sounds sensible) instead of expecting
          that the caller sets FLOCK_FILE and mysteriously failing if it
          wasn't set.</div>
      </div>
    </blockquote>
    <br>
    OK. Sounds good.<br>
    <br>
    <blockquote
cite="mid:CAJTo0LYOpP40zsTFKahoMzU1caXH+=qTUwgAAy1aV--pK_-E_g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Also if we're locking and waiting
          properly instead of using timeouts and loops, can we remove
          the "does it exist?" check before the operation (eg groupadd
          -f will exit 0 if the group exists) and after (with proper
          locking that shouldn't be happening).</div>
      </div>
    </blockquote>
    <br>
    I prefer to keep such check. There is more than one case that causes
    operation error such as pass wrong parameters. The messages are 
    helpful for developers.<br>
    <br>
    Thanks,<br>
    Kai<br>
    <br>
    <blockquote
cite="mid:CAJTo0LYOpP40zsTFKahoMzU1caXH+=qTUwgAAy1aV--pK_-E_g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Ross</div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards,
Neil | Kai Kang</pre>
  </body>
</html>