Bug 1174139 - rhqctl console does not handle signals correctly
Summary: rhqctl console does not handle signals correctly
Keywords:
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: Launch Scripts
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.14
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 972728 1176162
TreeView+ depends on / blocked
 
Reported: 2014-12-15 08:59 UTC by Michael Burman
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1176162 (view as bug list)
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Michael Burman 2014-12-15 08:59:55 UTC
Description of problem: rhqctl does not catch operating system signals such as sigterm correctly. This causes rhqctl console to behave incorrectly and leave console software running on the background.


Version-Release number of selected component (if applicable): 4.13


How reproducible: Always.


Steps to Reproduce:
1.
2.
3.

Actual results: Only rhqctl dies from sigterm, not the software running on the console.


Expected results: sigterm should be sent to the underlying process also.


Additional info: These prevent some systemd / container / other supervisor support.

Comment 1 Michael Burman 2014-12-15 15:58:39 UTC
In PR #154

Comment 2 Michael Burman 2015-03-09 13:43:50 UTC
Some additional fixes to the master (this fixes rhq-agent.sh):

commit 48507acad70ba89e16b7c3cd7ad1aa4b888373a3
Author: Michael Burman <miburman>
Date:   Mon Mar 9 15:40:58 2015 +0200

    [BZ 1174139] Fix starting script to work with FreeBSD also (and possibly some other sh-variants)


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