Bug 454602
Summary: | perl scripts do not sent LOG_EMERG log messages (Sys::Syslog) | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Issue Tracker <tao> | |
Component: | perl | Assignee: | Marcela Mašláňová <mmaslano> | |
Status: | CLOSED ERRATA | QA Contact: | desktop-bugs <desktop-bugs> | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | 5.2 | CC: | lkundrak, psplicha, tao, tbeattie | |
Target Milestone: | rc | Keywords: | Regression | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 956257 (view as bug list) | Environment: | ||
Last Closed: | 2009-01-20 21:10:56 UTC | Type: | --- | |
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: | 956257, 956263, 956264 |
Description
Issue Tracker
2008-07-09 10:00:43 UTC
Description of problem: A set of scripts which sent LOG_EMERG log messages through Sys::Syslog perl module on RHEL4.3, do not send the messages with this log level on RHEL5.1. How reproducible: RHEL5.1 system installed. Steps to Reproduce: Invoke the following command from the console: $ perl -e 'use Sys::Syslog; syslog(LOG_EMERG, "Test message")' Actual results: syslog: invalid level/facility: LOG_EMERG at -e line 1 Expected results: Message from syslogd@test1 at Fri Nov 7 11:28:34 2008 ... test1 host1: Test message Additional info: The current version of the module Sys::Syslog in RHEL5 is 0.13. This issue was fixed in 0.14: The lines of code: if ($_ eq 'kern' || $num <= 0) { croak "syslog: invalid level/facility: $_" were changed to if ($num < 0) { croak "syslog: invalid level/facility: $word" It looks like the upstream bug is: https://rt.cpan.org/Public/Bug/Display.html?id=17518 This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0117.html *** Bug 502445 has been marked as a duplicate of this bug. *** |