- Issued:
- 2013-01-07
- Updated:
- 2013-01-07
RHBA-2012:0704 - Bug Fix Advisory
Synopsis
logrotate bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated logrotate packages that fix three bugs and add one enhancement are now
available for Red Hat Enterprise Linux 5.
Description
The logrotate utility simplifies the administration of multiple log files,
allowing the automatic rotation, compression, removal, and mailing of log files.
This update fixes the following bugs:
- Prior to this update, a conflict could occur when string arrays between the
popt library and a hand-coded method written in logrotate were allocated and
freed. As a consequence, the "compressoptions" directive in the logrotate
configuration file caused logrotate to abort unexpectedly. This update modifies
the underlying code to use the popt library instead. Now, logrotate works as
expected. (BZ#644741)
- Prior to this update, the ".rhn-cfg-tmp-" file exension was missing from the
the list of extensions to be skipped when loading the configuration files. As a
consequence, ".rhn-cfg-tmp-" files were loaded as normal configuration files
and the rotation process was interrupted. This update adds the ".rhn-cfg-tmp-"
extension to the list of extensions to be skipped. (BZ#795405)
- Prior to this update, the logrotate utility did not check whether brackets
were correctly matched in the configuration file. As a consequence, files were
removed because logrotate did not detect the incorrectly matched brackets and
did not stop the rotation process for the particular configuration file. This
update modifies the underlying code to check the presence of brackets whether
they are matched. Now, configuration files with bad syntax are skipped.
(BZ#736045)
This update also adds the following enhancement:
- With this update, logrotate can rotate logs defined in configuration files
that contain configuration errors. (BZ#510124)
All users of logrotate are advised to upgrade to these updated packages, which
fix these bugs and add this enhancement.
Solution
Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 644741 - logrotate: free(): invalid pointer
- BZ - 736045 - logrotate has insufficient configuration syntax checking
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
logrotate-3.7.4-14.src.rpm | SHA-256: ab541f23fa94eceb573c52bb6a4f8393a5570b68facc348094fe74ffca187d03 |
x86_64 | |
logrotate-3.7.4-14.x86_64.rpm | SHA-256: 87665f55dfdbbf6df80aca3c7619e718249ab350c0d0011f7fe82c945788a3a7 |
logrotate-debuginfo-3.7.4-14.x86_64.rpm | SHA-256: 8b418eafe93e56365b0689f140ed44eeda0d65ccb57411b2486afad88b7c6375 |
ia64 | |
logrotate-3.7.4-14.ia64.rpm | SHA-256: c00b757ef01e6ece80d50c6a07d0085a53a1d1f02b83616be768eae215c1cd4c |
logrotate-debuginfo-3.7.4-14.ia64.rpm | SHA-256: 5ef769f11a0ad577665784e404239d730bbcd4cd89c9a1daea19aa12fe53af80 |
i386 | |
logrotate-3.7.4-14.i386.rpm | SHA-256: f13ef1d5a914045b567770ce6066f3e87aba3822cbb183a3b09bd0dd98d6cebb |
logrotate-debuginfo-3.7.4-14.i386.rpm | SHA-256: 4e36bcd1dc6ed706580ae99b9d0f86801e3866f469d66891e4161df4aea5a973 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
logrotate-3.7.4-14.src.rpm | SHA-256: ab541f23fa94eceb573c52bb6a4f8393a5570b68facc348094fe74ffca187d03 |
x86_64 | |
logrotate-3.7.4-14.x86_64.rpm | SHA-256: 87665f55dfdbbf6df80aca3c7619e718249ab350c0d0011f7fe82c945788a3a7 |
logrotate-debuginfo-3.7.4-14.x86_64.rpm | SHA-256: 8b418eafe93e56365b0689f140ed44eeda0d65ccb57411b2486afad88b7c6375 |
i386 | |
logrotate-3.7.4-14.i386.rpm | SHA-256: f13ef1d5a914045b567770ce6066f3e87aba3822cbb183a3b09bd0dd98d6cebb |
logrotate-debuginfo-3.7.4-14.i386.rpm | SHA-256: 4e36bcd1dc6ed706580ae99b9d0f86801e3866f469d66891e4161df4aea5a973 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
logrotate-3.7.4-14.src.rpm | SHA-256: ab541f23fa94eceb573c52bb6a4f8393a5570b68facc348094fe74ffca187d03 |
x86_64 | |
logrotate-3.7.4-14.x86_64.rpm | SHA-256: 87665f55dfdbbf6df80aca3c7619e718249ab350c0d0011f7fe82c945788a3a7 |
logrotate-debuginfo-3.7.4-14.x86_64.rpm | SHA-256: 8b418eafe93e56365b0689f140ed44eeda0d65ccb57411b2486afad88b7c6375 |
i386 | |
logrotate-3.7.4-14.i386.rpm | SHA-256: f13ef1d5a914045b567770ce6066f3e87aba3822cbb183a3b09bd0dd98d6cebb |
logrotate-debuginfo-3.7.4-14.i386.rpm | SHA-256: 4e36bcd1dc6ed706580ae99b9d0f86801e3866f469d66891e4161df4aea5a973 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
logrotate-3.7.4-14.src.rpm | SHA-256: ab541f23fa94eceb573c52bb6a4f8393a5570b68facc348094fe74ffca187d03 |
s390x | |
logrotate-3.7.4-14.s390x.rpm | SHA-256: 56af437e11adb20e678fffb834d58aa8b6aa4e116dfce5cf8f4ef3b73dbe7135 |
logrotate-debuginfo-3.7.4-14.s390x.rpm | SHA-256: 4ce922730b69f69f8bf5f28645682c2f95ed886a0d7aba6df202459f38efbb8c |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
logrotate-3.7.4-14.src.rpm | SHA-256: ab541f23fa94eceb573c52bb6a4f8393a5570b68facc348094fe74ffca187d03 |
ppc | |
logrotate-3.7.4-14.ppc.rpm | SHA-256: 71349676d18b267c85cb9c663199d238e6f08449d0c80d1092beecaccd284fcc |
logrotate-debuginfo-3.7.4-14.ppc.rpm | SHA-256: 8ab0f7ce27fe1a20ea71069add5acedff74a56aaa85c58bc5d4df35274f2d055 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
logrotate-3.7.4-14.src.rpm | SHA-256: ab541f23fa94eceb573c52bb6a4f8393a5570b68facc348094fe74ffca187d03 |
x86_64 | |
logrotate-3.7.4-14.x86_64.rpm | SHA-256: 87665f55dfdbbf6df80aca3c7619e718249ab350c0d0011f7fe82c945788a3a7 |
logrotate-debuginfo-3.7.4-14.x86_64.rpm | SHA-256: 8b418eafe93e56365b0689f140ed44eeda0d65ccb57411b2486afad88b7c6375 |
i386 | |
logrotate-3.7.4-14.i386.rpm | SHA-256: f13ef1d5a914045b567770ce6066f3e87aba3822cbb183a3b09bd0dd98d6cebb |
logrotate-debuginfo-3.7.4-14.i386.rpm | SHA-256: 4e36bcd1dc6ed706580ae99b9d0f86801e3866f469d66891e4161df4aea5a973 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.