Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Peter A. Bigot" <pab@pabigot.com>
To: OE-core <openembedded-core@lists.openembedded.org>
Subject: why does useradd.bbclass loop retrying its commands?
Date: Fri, 14 Nov 2014 23:37:59 -0600	[thread overview]
Message-ID: <5466E6B7.2050609@pabigot.com> (raw)

The useradd, groupadd, and groupmems commands in useradd.bbclass are 
executed in a loop with up to 10 failed attempts before they give up.  
This appears to have always been the case, as long as that file has been 
present.

Is there any reason why an initial failed attempt to execute one of 
these commands would be expected to succeed on retry, other than because 
delaying failure gives a chance for concurrently executing task to 
complete and so satisfy a dependency?

(This isn't the root cause of the pseudo autobuilder failure under 
multilib, but it did look plausible for a while.)

Peter


             reply	other threads:[~2014-11-15  5:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-15  5:37 Peter A. Bigot [this message]
2014-11-15 16:22 ` why does useradd.bbclass loop retrying its commands? Richard Purdie
2014-11-15 16:53   ` Peter A. Bigot
2014-11-15 21:19 ` Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5466E6B7.2050609@pabigot.com \
    --to=pab@pabigot.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox