Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

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

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • 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 build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2015:1293 - Bug Fix Advisory
Issued:
2015-07-22
Updated:
2015-07-22

RHBA-2015:1293 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

logrotate bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated logrotate packages that fix several bugs and add two enhancements are
now available for Red Hat Enterprise Linux 6.

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:

  • When the logrotate utility attempted to write its status file while

insufficient disk space was available, logrotate wrote only part of the status
file and stopped. When the disk space became free again, and log rotate
attempted to read its records, logrotate terminated unexpectedly. This bug has
been fixed, and logrotate no longer crashes in the aforementioned scenario.
(BZ#625034)

  • Previously, the daily cronjob of logrotate redirected all error messages to

the /dev/null device file, thus suppressing all the relevant information for
troubleshooting. With this update, all error messages containing detailed error
reports are mailed to the root user. In addition, the /etc/cron.daily/logrotate
file has been marked as a configuration file in RPM. (BZ#722209)

  • Previously, the /etc/cron.daily/logrotate file had incorrect permissions set.

This update changes the permissions to 0700, and /etc/cron.daily/logrotate now
conforms to Red Hat security policy GEN003080. (BZ#1012485)

  • The logrotate utility incorrectly deleted data files alphabetically instead

of based on their age when the when the "-%d-%m-%Y" date format was used. This
update sorts files returned by the glob() function according to the date
extension. As a result, when the aforementioned date format is used, the oldest
log is now removed as expected. (BZ#1117189)

In addition, this update adds the following enhancements:

  • The logrotate "olddir" directive now automatically creates a directory if it

is not already present. (BZ#1125769)

  • This update adds logrotate features for "size" directive parsing and "maxsize"

directive. (BZ#1047899)

Users of logrotate are advised to upgrade to these updated packages, which fix
these bugs and add these enhancements.

Solution

Before applying this update, make sure all previously released errata relevant
to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux Server 6 x86_64
  • Red Hat Enterprise Linux Server 6 i386
  • Red Hat Enterprise Linux Workstation 6 x86_64
  • Red Hat Enterprise Linux Desktop 6 x86_64
  • Red Hat Enterprise Linux Desktop 6 i386
  • Red Hat Enterprise Linux for Power, big endian 6 ppc64
  • Red Hat Enterprise Linux for Scientific Computing 6 x86_64
  • Red Hat Enterprise Linux Server from RHUI 6 x86_64
  • Red Hat Enterprise Linux Server from RHUI 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
  • Red Hat Enterprise Linux Workstation 6 i386
  • Red Hat Enterprise Linux for IBM z Systems 6 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x

Fixes

  • BZ - 625034 - [log-rotate] [rhel6] update of logrotate.status should be atomic
  • BZ - 722209 - /etc/cron.daily/logrotate should not suppress messages and is not marked as a configuration file
  • BZ - 984965 - cppcheck reveals new errors in 16->17 release
  • BZ - 1012485 - /etc/cron.daily/logrotate breaks rule GEN003080 in Red Hat security guide

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 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
x86_64
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0
i386
logrotate-3.7.8-23.el6.i686.rpm SHA-256: ce6b953ae6e64eb6f940cf641b3ba25ad4c90f940d2698a4c2b7e87ca38b87a6
logrotate-debuginfo-3.7.8-23.el6.i686.rpm SHA-256: 5d4a221f8d70a42e3bc49eebd0134a76400000a70023b0eefffd7a58f9dd9008

Red Hat Enterprise Linux Server - Extended Life Cycle Support 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
x86_64
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0
i386
logrotate-3.7.8-23.el6.i686.rpm SHA-256: ce6b953ae6e64eb6f940cf641b3ba25ad4c90f940d2698a4c2b7e87ca38b87a6
logrotate-debuginfo-3.7.8-23.el6.i686.rpm SHA-256: 5d4a221f8d70a42e3bc49eebd0134a76400000a70023b0eefffd7a58f9dd9008

Red Hat Enterprise Linux Workstation 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
x86_64
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0
i386
logrotate-3.7.8-23.el6.i686.rpm SHA-256: ce6b953ae6e64eb6f940cf641b3ba25ad4c90f940d2698a4c2b7e87ca38b87a6
logrotate-debuginfo-3.7.8-23.el6.i686.rpm SHA-256: 5d4a221f8d70a42e3bc49eebd0134a76400000a70023b0eefffd7a58f9dd9008

Red Hat Enterprise Linux Desktop 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
x86_64
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0
i386
logrotate-3.7.8-23.el6.i686.rpm SHA-256: ce6b953ae6e64eb6f940cf641b3ba25ad4c90f940d2698a4c2b7e87ca38b87a6
logrotate-debuginfo-3.7.8-23.el6.i686.rpm SHA-256: 5d4a221f8d70a42e3bc49eebd0134a76400000a70023b0eefffd7a58f9dd9008

Red Hat Enterprise Linux for IBM z Systems 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
s390x
logrotate-3.7.8-23.el6.s390x.rpm SHA-256: a783f257faba0e8e161dd84da6b90f60776fd6a8ecd4048b7a02b585de813283
logrotate-debuginfo-3.7.8-23.el6.s390x.rpm SHA-256: 513a77a408addc63061ab29e87bf701ca2219f5bd17d92e04ae90d3a0555f7e7

Red Hat Enterprise Linux for Power, big endian 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
ppc64
logrotate-3.7.8-23.el6.ppc64.rpm SHA-256: 792cbb89c410d6a837001059d8e1912cd1df2baafb7b02225dd3d96f85125f62
logrotate-debuginfo-3.7.8-23.el6.ppc64.rpm SHA-256: 39a1f6230cbb3517170cb8c1fc32fab649d925321007653d066135132f78bec9

Red Hat Enterprise Linux for Scientific Computing 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
x86_64
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0

Red Hat Enterprise Linux Server from RHUI 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
x86_64
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0
i386
logrotate-3.7.8-23.el6.i686.rpm SHA-256: ce6b953ae6e64eb6f940cf641b3ba25ad4c90f940d2698a4c2b7e87ca38b87a6
logrotate-debuginfo-3.7.8-23.el6.i686.rpm SHA-256: 5d4a221f8d70a42e3bc49eebd0134a76400000a70023b0eefffd7a58f9dd9008

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
s390x
logrotate-3.7.8-23.el6.s390x.rpm SHA-256: a783f257faba0e8e161dd84da6b90f60776fd6a8ecd4048b7a02b585de813283
logrotate-debuginfo-3.7.8-23.el6.s390x.rpm SHA-256: 513a77a408addc63061ab29e87bf701ca2219f5bd17d92e04ae90d3a0555f7e7

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
x86_64
logrotate-3.7.8-23.el6.x86_64.rpm SHA-256: 9f475d6cd26e84bca023bcff4d709476dde577092bfad382ed1751a9a63814b8
logrotate-debuginfo-3.7.8-23.el6.x86_64.rpm SHA-256: 7c36793789cb14e7db5a2788535386b16dd418741b50ed10aaf85a0e508d9ab0
i386
logrotate-3.7.8-23.el6.i686.rpm SHA-256: ce6b953ae6e64eb6f940cf641b3ba25ad4c90f940d2698a4c2b7e87ca38b87a6
logrotate-debuginfo-3.7.8-23.el6.i686.rpm SHA-256: 5d4a221f8d70a42e3bc49eebd0134a76400000a70023b0eefffd7a58f9dd9008

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6

SRPM
logrotate-3.7.8-23.el6.src.rpm SHA-256: d08f77c6fc5c4848ba8d11ad464d46ab93a5e8bb04633be4b1a0730d3751cc87
s390x
logrotate-3.7.8-23.el6.s390x.rpm SHA-256: a783f257faba0e8e161dd84da6b90f60776fd6a8ecd4048b7a02b585de813283
logrotate-debuginfo-3.7.8-23.el6.s390x.rpm SHA-256: 513a77a408addc63061ab29e87bf701ca2219f5bd17d92e04ae90d3a0555f7e7

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

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

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility