[Bug 1083407] Re: subtle upstart race condition with rc-sysinit scripts

ghomem 1083407 at bugs.launchpad.net
Mon Dec 3 14:51:13 UTC 2012


upstart   version is    1.5-0ubuntu7

I think this bug can be merged with bug 1078699

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1083407

Title:
  subtle upstart race condition with rc-sysinit scripts

Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  In fast machines one can see a race condition related to the old-style
  sysinit scripts that upstart runs. I noticed this on a virtual
  machine.

  The symptoms are:

  - winbind is hung on a futex  call (only one winbind proc is visible, unlike the usual situation)
  - xrdp is not launched because start-stop-daemon is also hanging on a futex call
  - ...

  Perhaps these daemons are being launched before networking or DNS.

  Process 916 attached - interrupt to quit
  futex(0xb666cd08, FUTEX_WAIT_PRIVATE, 2, NUL

  However if we insert an S10sleep script on rc2.d, with

  sleep 5

  the problem disappears. That is, winbind and xrdp start up normally.

  Notes:

  I have the latest upstart package installed.
  The problem is reproducible

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1083407/+subscriptions




More information about the foundations-bugs mailing list