Bug 436727

Summary: weird logrotate entry defies reason
Product: [Fedora] Fedora Reporter: JW <ohtmvyyn>
Component: mgettyAssignee: Martin Nagy <mnagy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: hripps
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-10 13:59:00 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:

Description JW 2008-03-09 23:39:39 UTC
Description of problem:
The distributed logrotate files (mgetty, mgetty-voice) rpms, contain weird
patterns patterns that attempt to exclude certain files for no apparent reason.
But there is a better way anyhow.

Version-Release number of selected component (if applicable):
mgetty-1.1.33-11

How reproducible:
Always

Steps to Reproduce:
1. read /etc/logrotate.d/mgetty  (and vgetty)
  
Actual results:
Contains patterns such as /var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.]
and worse

Expected results:
See following

Additional info:
The exclusion of log files with a dot in suffix is obviously an attempt to
exclude already rotated log files (in non-dateext schemes).
But there is a better way anyhow:
    tabooext + mgetty.log.tty*[-.]*
    /var/log/mgetty.log.tty* {
       ...
    }

Comment 1 Martin Nagy 2008-04-10 13:59:00 UTC
Fixed in mgetty-1.1.36-1.fc10