subtle upstart race condition with rc-sysinit scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
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
Changed in samba (Ubuntu): | |
status: | Incomplete → New |
status: | New → Incomplete |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Which versions of samba and upstart does this apply to? Also please could you run "apport-collect 1083407" to automatically submit relevant information to this bug?
Do you have samba and/or winbind configured any further or differently from defaults, and if so how?
Once you've answered, please change the bug status back to New.