https://bugzilla.novell.com/show_bug.cgi?id=784286 https://bugzilla.novell.com/show_bug.cgi?id=784286#c0 Summary: [PATCH] Ignore stale exit events if they come in <1s after startup Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.0 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: backend AssignedTo: mls@suse.com ReportedBy: wm161@wm161.net QAContact: adrian@suse.com Found By: --- Blocker: --- Created an attachment (id=508780) --> (http://bugzilla.novell.com/attachment.cgi?id=508780) patch to bs_sched User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 Running this command: obs_admin --shutdown-scheduler i586 while the scheduler is not running will cause the scheduler to exit as soon as it starts up. The attached patch fixes this by ignoring any exit events that come in less than one second after startup. Reproducible: Always Steps to Reproduce: 1. Run obs_admin --shutdown-scheduler i586 to kill the i586 scheduler. 2. Run obs_admin --shutdown-scheduler i586 again after it has exited 3. Restart bs_sched Actual Results: bs_sched exits immediately after starting up Expected Results: bs_sched should ignore the stale event and continue starting up. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.