Red Hat Bugzilla – Bug 187578
Fence daemon calling custom fence method has strange behavior
Last modified: 2009-04-16 16:11:33 EDT
Description of problem:
We have implemented our own fence method which was working fine until the U3
upgrade. We have a perl script in /sbin which is called by the fence daemon.
The perl script uses a system command to call a bash script. Both the perl
script and the bash script work fine if called from a command line. If the
perl script is called from the fence daemon, the bash script either hangs on a
read command or exhibits other strange behavior such as logger will not print
a message to the system log.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Invoke perl script from fence daemon
2. Invoke bash script using system command in perl script
3. Have bash script issue logger "message"
No logger message appears in system log
Logger message in system log
Problem was in our own start up scipts for fenced.