Comment 2 for bug 1248054

Revision history for this message
Jason Waters (jwaters-h2os) wrote : Re: dlm package installation fails

I fixed it by editing /etc/init.d/dlm

I was able to get past this by commenting out the ". /etc/rc.d/init.d/functions" line and changing the
"daemon $prog $DLM_CONTROLD_OPTS" line to "$prog $DLM_CONTROLD_OPTS"

I was using it with clvmd and needed to tweak that as well. Needed to comment out the cluster.conf stuff since I wasn't using pacemaker. These changes were made to /etc/init.d/clvm

#if [ ! -f /etc/cluster/cluster.conf ]; then
# log_failure_msg "clvmd: cluster not configured. Aborting."
# exit 0
#fi

#if ! cman_tool status >/dev/null 2>&1; then
# log_failure_msg "clvmd: cluster is not running. Aborting."
# exit 0
#fi

Again my setup is with pacemaker