Low: mysql: tmpfile is leaking when set the OCF_CHECK_LEVEL to 10
The function get_slave_info() makes a tmpfile that named /var/run/resource-agents/check_slave.mysql.XXXXXX.
This tmpfile is removed by the function that called a get_slave_info().
However, The function is_slave() calls the get_slave_info() , but does not remove tmpfile.
When OCF_CHECK_LEVEL is set to 10, in the Slave node, the function is_slave() will be called from the mysql_monitor.
So, the number of the tmpfile continues increasing in every 10 seconds in the Slave node.