Red Hat Bugzilla – Bug 76342
mgetty logrotate config fills /var/log
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020913
Description of problem:
mgetty 1.1.28-3 logrotate config is filling /var/log/ with
mgetty.log.ttyS?.x.x.x.x... files where x is any single digit number 0-9.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Everytime logrotate is run.
Maybe mgetty's log file naming convention should be changed from
mgetty.log.ttyS? to mgetty.ttyS?.log to allow the use of * in
/etc/logrotate.d/mgetty. It simply does not work with * as last component of
what to rotate. Other possible solution would be to change logrotate so it would
not touch anything that ends with number.
For now fixed with removing * from mgetty's logrotate config and giving exact
paths to log-files.
It can be fixed just changing /var/log/mgetty.log.tty*
for /var/log/mgetty.log.ttyS? in /etc/logrotate.d/mgetty
*** This bug has been marked as a duplicate of 68096 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.