Bug 1429092

Summary: File-Pid: uninitialized value warning if you call running without an existing pid file (ie run the first time)
Product: [Fedora] Fedora EPEL Reporter: Deepu K S <dkochuka>
Component: perl-File-PidAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel7CC: dkochuka, iarnell, jplesnik, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: perl-File-Pid-1.01-21.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 19:19: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:

Description Deepu K S 2017-03-04 09:59:05 UTC
Description of problem:
Use of uninitialized value in kill at File/Pid.pm line 124. 

The program crashes if you call $pidfile->running when the pid file does not exist. There is a patch from CPAN below which seems to fix the bug.


This is a CPAN bug report with an attached patch which seems to be working:

https://rt.cpan.org/Public/Bug/Display.html?id=18960

Version-Release number of selected component (if applicable):
Fedora EPEL 7
perl-File-Pid-1.01-20.el7.noarch

How reproducible:
Everytime

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Update System 2017-03-06 10:44:56 UTC
perl-File-Pid-1.01-21.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-8d8e9685c3

Comment 2 Fedora Update System 2017-03-07 05:53:44 UTC
perl-File-Pid-1.01-21.el7 has been pushed to the Fedora EPEL 7 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-2017-8d8e9685c3

Comment 3 Fedora Update System 2017-03-21 19:19:26 UTC
perl-File-Pid-1.01-21.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.