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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.