Bug 436727 - weird logrotate entry defies reason
Summary: weird logrotate entry defies reason
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mgetty
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Martin Nagy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-09 23:39 UTC by JW
Modified: 2016-07-26 23:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-10 13:59:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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