Missing /var/log/btmp in rabbitmq container causes unnecessary logs in /var/log/secure.

Solution In Progress - Updated -

Issue

  • Missing /var/log/btmp in rabbitmq container causes unnecessary logs in /var/log/secure.

    su:pam_lastlog(su:session): unable to open /var/log/btmp: No such file or directory
    

    The message is written in every su option for rabbitmq user.
    It makes /var/log/secure larger and hard to read useful logs.

Environment

  • Red Hat OpenStack Platform 13
  • rabbitmq
  • PAM

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