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, 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