Mount command line is logged at inappropriate log level in RHEL 6

Solution Unverified - Updated -

Issue

  • rgmanger, misleading mount cmd in syslog
  • When a service does mount a filesystem the mount command itself is logged with a severity of "err". This may confuse some monitoring. Please compare example below.
2013-03-11T16:11:15.011719+01:00,aeptst001,rgmanager[14016]:,local4,err, [fs] mount -t ext4  /dev/mapper/VGmysqldb1-LVmysqldb /opt/MYSQLDB1
  • Customer is using a straightforward cluster.conf, using default log settings. They noticed that mounts of filesystems are logged at LOG_ERR priority.
  • As this is a normal cluster operation, they are expecting this to be logged at a lesser priority (e.g. rgmanager's default of LOG_INFO).
  • Please backport https://github.com/ClusterLabs/resource-agents/pull/220

Environment

  • Red Hat Enterprise Linux 6
  • resource-agents releases prior to 3.9.2-40.el6

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.