logrotate crashes on segfault in rotateLogSet()

Solution Verified - Updated -

Issue

  • The logrotate job does not rotate (all) files
  • The logrotate process crashes on Segmentation fault (SIGSEGV) with a message similar to the following in the logs:

    logrotate[<PID>]: segfault at 7ffde54bbbe8 ip 0000000000405ef9 sp 00007ffde54bbbf0 error 6 in logrotate[400000+e000]
    

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • logrotate

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content