HomeClusterLabs Projects

redirect standard output/error of selinuxenabled

Description

redirect standard output/error of selinuxenabled

I noticed servers without selinux installed get spammed in the messages log by the output of that command in this script:
e.g.
lrmd[]: notice: operation_finished: nfs-server_monitor_10000:6025:stderr [ /usr/lib/ocf/resource.d/heartbeat/nfsserver: line 183: selinuxenabled: command not found ]

Details

Provenance
Colin Hamilton <ZeTopHat@users.noreply.github.com>Authored on Feb 21 2018, 5:32 PM
GitHub <noreply@github.com>Committed on Feb 21 2018, 5:32 PM
Parents
rR0a860ae1ebbd: Merge pull request #1101 from davidmhewitt/patch-1
Branches
Unknown
Tags
Unknown

Event Timeline