- Issued:
- 2011-02-16
- Updated:
- 2011-02-16
RHBA-2010:0334 - Bug Fix Advisory
Synopsis
logrotate bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated logrotate package that fixes various bugs is now available.
Description
The logrotate utility simplifies the administration of multiple log files.
Logrotate allows for the automatic rotation, compression, removal, and mailing
of log files.
This updated logrotate package includes fixes for the following bugs:
- recursively including one of logrotate's configuration files, such as by
inserting "include /etc/logrotate.d/syslog" within that same file, caused
logrotate to segmentation fault due to an unchecked-for exception. With this
updated package, logrotate performs a check to make sure that configuration
files do not recursively including themselves, and that an included directory is
not the same as the directory of the file including it. (BZ#440036)
- the /var/lib/logrotate.status file is the default location of logrotate's
state file. If this file became corrupted, logrotate stopped rotating the logs,
which could have resulted in the unchecked growth of log files. With this
update, should the logrotate.status file become corrupt, logrotate proceeds to
rotate the logs and reports that the logrotate.status file was corrupted.
(BZ#483734)
- this update clarifies the location of the logrotate log file, which is
/var/lib/logrotate.status, in the logrotate(8) man page. (BZ#439138)
All users of logrotate are advised to upgrade to this updated package, which
resolves these issues.
Solution
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 4 x86_64
- Red Hat Enterprise Linux Server 4 ia64
- Red Hat Enterprise Linux Server 4 i386
- Red Hat Enterprise Linux Workstation 4 x86_64
- Red Hat Enterprise Linux Workstation 4 ia64
- Red Hat Enterprise Linux Workstation 4 i386
- Red Hat Enterprise Linux Desktop 4 x86_64
- Red Hat Enterprise Linux Desktop 4 i386
- Red Hat Enterprise Linux for IBM z Systems 4 s390x
- Red Hat Enterprise Linux for IBM z Systems 4 s390
- Red Hat Enterprise Linux for Power, big endian 4 ppc
Fixes
- BZ - 439138 - Typo in logrotate man page
- BZ - 440036 - logrotate doesn't prevent recursive includes
- BZ - 483734 - Logrotate doesn't rotate logs if /var/lib/logrotate.status is corrupted
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 4
SRPM | |
---|---|
logrotate-3.7.1-11.RHEL4.src.rpm | SHA-256: 7de70f1885178cce06632f6402a576effbc500181775636ad9d90085ddd162b7 |
x86_64 | |
logrotate-3.7.1-11.RHEL4.x86_64.rpm | SHA-256: 449154c0624fabda2e92bb827c0361fad88427e737c0cc98da49de1663e1140b |
logrotate-3.7.1-11.RHEL4.x86_64.rpm | SHA-256: 449154c0624fabda2e92bb827c0361fad88427e737c0cc98da49de1663e1140b |
ia64 | |
logrotate-3.7.1-11.RHEL4.ia64.rpm | SHA-256: 0dd10ded462293661c906f13202e0797e6d131e19faaeca62c89d69d32025325 |
logrotate-3.7.1-11.RHEL4.ia64.rpm | SHA-256: 0dd10ded462293661c906f13202e0797e6d131e19faaeca62c89d69d32025325 |
i386 | |
logrotate-3.7.1-11.RHEL4.i386.rpm | SHA-256: ee6216548c7775dfd308c1a52187d8c0dce3a63a39699efb60aa1f31d34873df |
logrotate-3.7.1-11.RHEL4.i386.rpm | SHA-256: ee6216548c7775dfd308c1a52187d8c0dce3a63a39699efb60aa1f31d34873df |
Red Hat Enterprise Linux Workstation 4
SRPM | |
---|---|
logrotate-3.7.1-11.RHEL4.src.rpm | SHA-256: 7de70f1885178cce06632f6402a576effbc500181775636ad9d90085ddd162b7 |
x86_64 | |
logrotate-3.7.1-11.RHEL4.x86_64.rpm | SHA-256: 449154c0624fabda2e92bb827c0361fad88427e737c0cc98da49de1663e1140b |
ia64 | |
logrotate-3.7.1-11.RHEL4.ia64.rpm | SHA-256: 0dd10ded462293661c906f13202e0797e6d131e19faaeca62c89d69d32025325 |
i386 | |
logrotate-3.7.1-11.RHEL4.i386.rpm | SHA-256: ee6216548c7775dfd308c1a52187d8c0dce3a63a39699efb60aa1f31d34873df |
Red Hat Enterprise Linux Desktop 4
SRPM | |
---|---|
logrotate-3.7.1-11.RHEL4.src.rpm | SHA-256: 7de70f1885178cce06632f6402a576effbc500181775636ad9d90085ddd162b7 |
x86_64 | |
logrotate-3.7.1-11.RHEL4.x86_64.rpm | SHA-256: 449154c0624fabda2e92bb827c0361fad88427e737c0cc98da49de1663e1140b |
i386 | |
logrotate-3.7.1-11.RHEL4.i386.rpm | SHA-256: ee6216548c7775dfd308c1a52187d8c0dce3a63a39699efb60aa1f31d34873df |
Red Hat Enterprise Linux for IBM z Systems 4
SRPM | |
---|---|
logrotate-3.7.1-11.RHEL4.src.rpm | SHA-256: 7de70f1885178cce06632f6402a576effbc500181775636ad9d90085ddd162b7 |
s390x | |
logrotate-3.7.1-11.RHEL4.s390x.rpm | SHA-256: 36796a603e494f5739aedb233d36026f1ca3025f6ac98f376776e5896fddb542 |
s390 | |
logrotate-3.7.1-11.RHEL4.s390.rpm | SHA-256: fdb554d10f8bfa6ff0a832e8d89a5258f41239a03fe770e05573b53aa1ff65e9 |
Red Hat Enterprise Linux for Power, big endian 4
SRPM | |
---|---|
logrotate-3.7.1-11.RHEL4.src.rpm | SHA-256: 7de70f1885178cce06632f6402a576effbc500181775636ad9d90085ddd162b7 |
ppc | |
logrotate-3.7.1-11.RHEL4.ppc.rpm | SHA-256: 6f4401c6a713e76c09dbcd6c96a6a54224f6285709d40c9572430591c75ecafd |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.