Red Hat Bugzilla – Bug 436727
weird logrotate entry defies reason
Last modified: 2016-07-26 19:46:47 EDT
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):
Steps to Reproduce:
1. read /etc/logrotate.d/mgetty (and vgetty)
Contains patterns such as /var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.]
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*[-.]*
Fixed in mgetty-1.1.36-1.fc10