[Pacemaker] postfix resource agent using unsupported "status" command

Noah Rømer baronmog at gmail.com
Thu May 19 22:23:11 UTC 2011


The pacemaker resource agent (downloaded from
https://github.com/raoulbhatia/resource-agents/blob/master/heartbeat/postfix)
has a function called "running" that attempts to determine if the
requested postfix instance is running by doing:

"$binary $OPTION_CONFIG_DIR status >/dev/null 2>&1"

This causes the resource agent to fail on starting the service. The
postfix command says:

postfix/postfix-script: fatal: usage: postfix start (or stop, reload,
abort, flush, check, set-permissions, upgrade-configuration)

It doesn't appear to support the status command, the way the init
script (/etc/init.d/postfix) does.

-- 
It's difficult to get a man to understand something when his salary
depends on him not understanding it.

- Upton Sinclair




More information about the Pacemaker mailing list