dlm has broken init script + missing a dependency

Bug #1365444 reported by Uggla
This bug report is a duplicate of:  Bug #1248054: [SRU] dlm package installation fails. Edit Remove
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
dlm (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Ubuntu version: 14.04
Package: dlm
Version: 4.0.1-0ubuntu1

/etc/init.d/dlm is looking for /etc/rc.d/init.d/functions which doesn't exist. It is also using daemon which isn't listed as a dependency.

Results in error during post-install.

Tags: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gfs2-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Travis Bean (tlbean) wrote :

#!/bin/bash
# Compile and install Distributed Lock Manager.
apt-get -y install daemon
cd /usr/src
apt-get source dlm
apt-get build-dep dlm
cd dlm-*
# Patch for broken init reference.
sed -i "s|/etc/rc.d/init.d/functions|/lib/lsb/init-functions|" init/dlm.init
debuild -b
cd ..
dpkg -i libdlm*.deb # Prerequisite Depends for DLM.
dpkg -i dlm_*.deb
rm -rf {libdlm*,dlm*}

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "dlm.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
affects: gfs2-utils (Ubuntu) → dlm (Ubuntu)
Changed in dlm (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.