Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1158937

Summary: irqbalance signal handling
Product: Red Hat Enterprise Linux 7 Reporter: Andrej Manduch <amanduch>
Component: irqbalanceAssignee: Petr Holasek <pholasek>
Status: CLOSED ERRATA QA Contact: Andrej Manduch <amanduch>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: dhoward, emcnabb, jeder, jsvarova, kernel-qe-hw, pholasek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: irqbalance-1.0.7-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1158932 Environment:
Last Closed: 2015-11-19 05:21:26 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:
Bug Depends On: 1158932    
Bug Blocks:    

Description Andrej Manduch 2014-10-30 14:28:30 UTC
+++ This bug was initially created as a clone of Bug #1158932 +++

Description of problem:

Irqbalance will exit on every single signal which receive except SIGHUP (which is ok).

When irqbalance receive SIGINT it will unlink pidfile and exit correctly (this is still ok). However if irqbalance receive another signal It will just crash (it will exit but without unlinking pidfile)

irqbalance crash even when receives `innocent` signals like SIGUSR1...

I'm not sure if this is bug or desired behaviour however I'll be happy if somebody will take look at that.

Comment 4 Andrej Manduch 2015-09-21 11:28:41 UTC
I tested it on beaker test and it looks ok:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 07:24:53 ] :: enough processors, let's start

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Signal handling test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: SIGHUP is handled corectly 
:: [   PASS   ] :: irqbalance was terminater by SIGINT signal 
:: [   PASS   ] :: irqbalance is running after sending CHLD to it 
:: [   PASS   ] :: irqbalance is running after sending HUP to it 
:: [   PASS   ] :: irqbalance was terminater by SIGTERM signal 
:: [   PASS   ] :: irqbalance was terminater by SIGUSR1 signal 
:: [   PASS   ] :: irqbalance was terminater by SIGUSR2 signal 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

irqbalance: no process found

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: Package       : irqbalance
:: [   LOG    ] :: Installed:    : irqbalance-1.0.7-5.el7.x86_64 
:: [   LOG    ] :: beakerlib RPM : beakerlib-1.10-2.el7eso
:: [   LOG    ] :: bl-redhat RPM : beakerlib-redhat-1-18.el7eso
:: [   LOG    ] :: Test started  : 2015-09-21 07:24:53 EDT
:: [   LOG    ] :: Test finished : 2015-09-21 07:26:28 EDT
:: [   LOG    ] :: Test name     : /CoreOS/irqbalance/basic
:: [   LOG    ] :: Distro:       : Red Hat Enterprise Linux Server release 7.2 Beta (Maipo)
:: [   LOG    ] :: Hostname      : dell-pem620-01.lab.bos.redhat.com
:: [   LOG    ] :: Architecture  : x86_64

Comment 6 errata-xmlrpc 2015-11-19 05:21:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2207.html