Rsyslog fails to open imjournal state file with "Operation not permitted"

Solution Verified - Updated -

Issue

  • rsyslog fails to log messages properly, showing the following error:

    imjournal: open() failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Operation not permitted [v8.2310.0-4.el9 try https://www.rsyslog.com/e/2433 ]
    

Environment

  • Red Hat Enterprise Linux 9.4
  • rsyslog-8.2310.0-4.el9 or newer

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