Bug 12832
Summary: | logrotate wild card *does* multiply files exponentially | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Matthew Saltzman <mjs> |
Component: | samba | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | aleksey, henris, jn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-07-07 20:59:06 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
Matthew Saltzman
2000-06-22 23:13:51 UTC
This is not a problem if you require all log files you rotate end with an extension like .log Logrotate can create files with .gz and .1 .2 .3 ... extensions and no exponential expansion will be performed. The problem wit Samba was specific format of log files format. This should actually be a samba bug because the logrotate file comes with the samba rpm. The original rpm from samba.org doesnt have this problem. This is already fixed in the latest samba packages. IMHO, a nicer solution would be for logrotate itself to avoid rotating files wilh suffixes .1, .2, .gz, .z, .Z, or whatever. For example, the junkbuster package creates log files like /var/log/junkbuster/junkbuster. Here, there is no wildcard spec in logrotate that will stop the proliferation of rotated files. Yes, you can argue that that's a junkbuster bug (and I have made that point to the packager, but it's still not been fixed), but I think it would be less irritating to fix the problem once and for all in logrotate. Then we don't need to rely on the kindness of strangers to keep things running smoothly. I am using RH 6.2 with the latest samba-2.0.7-4 and I am still experiencing this behaviour. Which "latest samba packages" fix this problem? This bug can cause logrotate to create so many files that the filesystem # of files limit will be reached. That can create a number of really nasty problems, so it should warrant an Errata release. I filed a bug #28919 asking for an Errata. |