Bug 863306 - bkr.labcontroller.main daemonization and signal handling needs some massage
Summary: bkr.labcontroller.main daemonization and signal handling needs some massage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.11
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard: ImplementationQuality
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-05 03:41 UTC by Raymond Mancy
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-19 00:57:11 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.