Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Virtualization
  • Red Hat Identity Management
  • Red Hat Directory Server
  • Red Hat Certificate System
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Update Infrastructure
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat CloudForms
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Online
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat CodeReady Workspaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Thorntail
  • Red Hat build of Eclipse Vert.x
  • Red Hat build of OpenJDK
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Integration
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
  • Red Hat JBoss Data Virtualization
  • Red Hat Process Automation
  • Red Hat Process Automation Manager
  • Red Hat Decision Manager
All Products
Red Hat Product Errata RHBA-2012:0704 - Bug Fix Advisory
Issued:
2013-01-07
Updated:
2013-01-07

RHBA-2012:0704 - Bug Fix Advisory

  • Overview
  • Updated Packages

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.

View affected systems

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)

Note: More recent versions of these packages may be available. Click a package name for more details.

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/.

Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2022 Red Hat, Inc.
  • Privacy Statement
  • Customer Portal Terms of Use
  • All Policies and Guidelines
Red Hat Summit
Twitter