|
Bugzilla – Full Text Bug Listing |
| Summary: | XINETD.LOG log rotation incorrect | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Jim Pye <jim.pye> |
| Component: | Basesystem | Assignee: | Michal Marek <mmarek> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | suse-beta |
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
10.1 beta3 still has the same configuration in /etc/logrotate.d/xinetd :-( Fixed, thanks for testng. |
After a few days of monitoring the logfiles I noticed that I was getting multiple xinetd logfiles with an incrementing filename. The configuration file for the logrotate utility had an error which can cause this issue. Here is the /var/log directory listing after 4 days worth of logs: xinetd.log xinetd.log-20060108.gz xinetd.log-20060108.gz-20060109.gz xinetd.log-20060108.gz-20060109.gz-20060109.gz xinetd.log-20060108.gz-20060109.gz-20060109.gz-20060110.gz xinetd.log-20060108.gz-20060109.gz-20060109.gz-20060110.gz-20060111.gz xinetd.log-20060108.gz-20060109.gz-20060109.gz-20060110.gz-20060111.gz-20060112.gz xinetd.log-20060109.gz xinetd.log-20060109.gz-20060109.gz xinetd.log-20060109.gz-20060109.gz-20060110.gz xinetd.log-20060109.gz-20060109.gz-20060110.gz-20060111.gz xinetd.log-20060109.gz-20060109.gz-20060110.gz-20060111.gz-20060112.gz xinetd.log-20060110.gz xinetd.log-20060110.gz-20060111.gz xinetd.log-20060110.gz-20060111.gz-20060112.gz xinetd.log-20060111.gz xinetd.log-20060111.gz-20060112.gz xinetd.log-20060112.gz Here is the original faulty /etc/logrotate.d/xinetd file that controls the log rotation for the xinetd process: /var/log/xinetd.* { compress daily dateext . . . } The problem with this entry is the * wildcard in the filename. fix: /var/log/xinetd.log { compress daily dateext . . . }