Bug 1327226

Summary: pmie not responding to signals
Product: [Fedora] Fedora Reporter: Marko Myllynen <myllynen>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: brolley, fche, kenj, lberk, mgoodwin, nathans, pcp, scox
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-3.11.4-1.el5 pcp-3.11.4-1.fc24 pcp-3.11.4-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-05 19:49:09 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:

Description Marko Myllynen 2016-04-14 14:06:13 UTC
Description of problem:
After doing

$ pmie

you need to send a SIGKILL to terminate it.

Comment 1 Marko Myllynen 2016-07-21 18:11:28 UTC
Seems that SIGQUIT also does the job; SIGTERM/SIGHUP/SIGINT doesn't. So perhaps it's a feature?

Comment 2 Ken McDonell 2016-07-21 20:43:25 UTC
This is NOT a bug.

From the pmie(1) man page ...

       The expressions to be evaluated are read from configuration files spec‐
       ified by one or more filename arguments.  In the absence of  any  file‐
       name, expressions are read from standard input.

Please close this bug.

Comment 3 Frank Ch. Eigler 2016-07-21 20:52:44 UTC
Most UNIX tools that parse their standard input also respect SIGINT etc. as a termination signal.  If pmie feels it must block those during input parsing, this unusual behaviour should be documented.

Comment 4 Ken McDonell 2016-07-21 21:31:40 UTC
You are correct Farnk, my apologies.

I have committed the necessary (almost) trivial fix.

Comment 5 Fedora Update System 2016-08-16 01:55:26 UTC
pcp-3.11.4-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b76275250f

Comment 6 Fedora Update System 2016-08-16 05:16:27 UTC
pcp-3.11.4-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a51156083f

Comment 7 Fedora Update System 2016-08-16 05:56:40 UTC
pcp-3.11.4-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-415f0c78ed

Comment 8 Fedora Update System 2016-09-05 19:48:43 UTC
pcp-3.11.4-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-09-05 22:53:18 UTC
pcp-3.11.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-09-06 02:19:45 UTC
pcp-3.11.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.