Ran into the same problem with the DLM package for Ubuntu 14.04. In my setup I replaced the init script contained in the package with a new one based on the /etc/init.d/skeleton file. This works for me.
** Attachment added: "New DLM init script" https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+attachment/4191471/+files/dlm -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dlm in Ubuntu. https://bugs.launchpad.net/bugs/1248054 Title: dlm package installation fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs