Bug 955210

Summary: perl-Log-Message: use explicit mode specified in open
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: perl-Log-MessageAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Log-Message-0.06-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 13:17:02 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:    
Bug Blocks: 955212    

Description Florian Weimer 2013-04-22 14:41:18 UTC
In Log/Message/Config.pm, sub _read_config_file, I think it's appropriate to specify a "<" mode indicator to open, as in:

    $FH->open("<$file") or (

Comment 1 Petr Pisar 2013-04-25 08:46:46 UTC
Good catch. Actually more portable way is to write $FH->open("$file", 'r') otherwise one could not open file starting which name starts with a special character like '<'.

Comment 2 Petr Pisar 2013-04-25 08:57:28 UTC
Patch submitted to the upstream.

Comment 3 Fedora Update System 2013-04-25 09:39:53 UTC
perl-Log-Message-0.06-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-Log-Message-0.06-2.fc19

Comment 4 Fedora Update System 2013-04-30 04:35:07 UTC
perl-Log-Message-0.06-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora End Of Life 2013-09-16 16:57:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20