Comment 3 for bug 1248054

Revision history for this message
Ted Bodfish (tedbs) wrote : Re: dlm package installation fails

I have been having difficulties trying to set up Pacemaker, CoroSync, STONITH and DRBD on Ubuntu 14.04 LTS.

It appears that the port of dlm to Ubuntu has not taken into account the fact that the Ubuntu distro uses file system locations that differ from those used by the distro where dlm was developed.

I was getting the error
/etc/init.d/dlm: 22: .: Can't open /etc/rc.d/init.d/functions
so in the /etc/init.d/dlm file I changed the line
. /etc/rc.d/init.d/functions
to
. /lib/lsb/init-functions
and that error went away.

Unfortunately I then started to get the error
Starting dlm_controld: /etc/init.d/dlm: 51: /etc/init.d/dlm: daemon: not found
which I have not been able to resolve.

After examining the /lib/lsb/init-functions file I modified the /etc/init.d/dlm file by changing the line
        daemon $prog $DLM_CONTROLD_OPTS
to
        start_daemon $prog $DLM_CONTROLD_OPTS
but that just resulted in the error
$Starting dlm_controld: /sbin/start-stop-daemon: unable to stat //dlm_controld (No such file or directory)
which is probably also due to file system differences.

Any clues?