Bug 13426 - Eventd can wrongly report timed out status for successful events
Summary: Eventd can wrongly report timed out status for successful events
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: CTDB (show other bugs)
Version: 4.8.1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Amitay Isaacs
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-09 05:47 UTC by Amitay Isaacs
Modified: 2018-05-09 06:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amitay Isaacs 2018-05-09 05:47:09 UTC
There is a race condition in run_proc abstraction.  If a script executes before the process is registered in process database, then SIGCHLD handler will treat it as unknown process and the run_proc computation will end up timing out.
Comment 1 Amitay Isaacs 2018-05-09 06:40:09 UTC
it's not really a bug.  The problem was with the way I was using run_event abstraction.