Bug 432766 - "Wrong file owner" displayed incorrectly.
"Wrong file owner" displayed incorrectly.
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: logwatch (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Ivana Varekova
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-14 04:36 EST by Jan ONDREJ
Modified: 2008-02-28 16:39 EST (History)
0 users

See Also:
Fixed In Version: 7.3.4-11.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-28 16:39:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan ONDREJ 2008-02-14 04:36:55 EST
Description of problem:
"Wrong file owner" is displayed incorrectly. There is no "WRONG FILE OWNER" text
in my cron log and logwatch sends me this message.

Version-Release number of selected component (if applicable):
logwatch-7.3.6-13.fc8
logwatch-7.3.4-10.fc7

How reproducible:
Always.

Steps to Reproduce:
1. echo "Feb 13 13:51:09 www crond[11818]: (root) error: Job execution of
per-minute job scheduled for 13:50 delayed into subsequent minute 13:51.
Skipping job run." | /usr/bin/perl /usr/share/logwatch/scripts/services/cron
  
Actual results:
 Wrong file owner (): 2 Time(s)

Expected results:
 Nothing or another error.

Additional info:
I think there is a bug in /usr/share/logwatch/scripts/services/cron, line 149:
      } elsif ( ($FileName) = ($ThisLine = /WRONG FILE OWNER \((.+)\)/) ) {

Where the = operator after ThisLine need to be replaced by =~ .
I am not a perl expert, so the error may be elsewhere.
Comment 1 Fedora Update System 2008-02-14 09:48:42 EST
logwatch-7.3.6-14.fc8 has been submitted as an update for Fedora 8
Comment 2 Fedora Update System 2008-02-14 09:56:17 EST
logwatch-7.3.4-11.fc7 has been submitted as an update for Fedora 7
Comment 3 Ivana Varekova 2008-02-14 09:57:07 EST
Thanks, fixed in logwatch-7_3_6-19_fc9, logwatch-7.3.6-14.fc8,
logwatch-7.3.4-11.fc7.
Comment 4 Fedora Update System 2008-02-28 16:39:02 EST
logwatch-7.3.4-11.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.