erkules/resource-agents — comment on commit bcda6578320b01163bf2f7b78ad826490118a0ad
File:  line 0
By dmuhamedagic:

This change may be safe, but I really wouldn't bet on it. Where is the standard that says that all distributions have the HOSTNAME variable exported. BTW, mysql is not the only RA that uses `uname -n`. It would be better to set `uname -n` in some file which is sourced by all resource agents, then use that variable. Or put HOSTNAME=`uname -n` at top of mysql.