Bug 863306

Summary: bkr.labcontroller.main daemonization and signal handling needs some massage
Product: [Retired] Beaker Reporter: Raymond Mancy <rmancy>
Component: lab controllerAssignee: beaker-dev-list
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: asaha, dcallagh, ebaak, llim, rglasz, rmancy
Target Milestone: 0.11   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ImplementationQuality
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-19 00:57:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Raymond Mancy 2012-10-05 03:41:13 UTC
beaker proxy (bkr.labcontroller.main) currently does a couple of odd things.

The `daemon_shutdown()` SIGTERM handler can never work because the 'login' variable is not accessible, and it handles 'KeyboardInterrupt' regardless of whether it is daemonized or not.

Perhaps we should look at reworking it to be closer to how beakerd works.

Comment 2 Dan Callaghan 2013-07-19 00:57:11 UTC
I believe at this point all four LC daemons have been tidied up to be consistent with each other, and with beakerd, and to run correctly both foregrounded and daemonized.