Bug 4876

Summary: build directory needs to be cleaned if webhob fails to start
Product: [Build System, Metadata & Runtime] Toaster Reporter: Calin Dragomir <calinx.l.dragomir>
Component: toasterAssignee: Calin Dragomir <calinx.l.dragomir>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandru.damian, andreea.b.proca
Version: 1.5   
Target Milestone: 1.5 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Calin Dragomir 2013-07-19 10:43:40 UTC
If the start webhob command fails we need to kill any process that's using bitbake.lock and to delete whbmain.pid file.

Otherwise we'll be warned that the system is already running even if it isn't working properly, and cannot be stopped or restarted correctly with these files present or involved in another process.
Comment 1 Alexandru Damian 2013-07-29 14:38:31 UTC
Fixes to webhob start script commited in webhob-poky/master
Comment 2 Andreea Brandusa Proca 2014-01-21 15:04:51 UTC
Verified in master:e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371.