[Bug 1248054] Re: dlm package installation fails

2016-01-27 Thread Billy Olsen
** Changed in: dlm (Ubuntu)
 Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Description changed:

+ [Problem]
+ dlm fails to install, per the following.
+ 
  Install process output:
  --
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
-   libcfg6 libcmap4 libcorosync-common4 libcpg4 libdlm3 libdlmcontrol3 libqb0 
libquorum5
+   libcfg6 libcmap4 libcorosync-common4 libcpg4 libdlm3 libdlmcontrol3 libqb0 
libquorum5
  The following NEW packages will be installed:
-   dlm libcfg6 libcmap4 libcorosync-common4 libcpg4 libdlm3 libdlmcontrol3 
libqb0 libquorum5
+   dlm libcfg6 libcmap4 libcorosync-common4 libcpg4 libdlm3 libdlmcontrol3 
libqb0 libquorum5
  0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
  Need to get 213 kB of archives.
  After this operation, 1,622 kB of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy/main libcorosync-common4 
amd64 2.3.0-1ubuntu4 [7,278 B]
- Get:2 http://us.archive.ubuntu.com/ubuntu/ saucy/main libqb0 amd64 
0.16.0.real-1ubuntu2 [66.5 kB]
- Get:3 http://us.archive.ubuntu.com/ubuntu/ saucy/main libcfg6 amd64 
2.3.0-1ubuntu4 [8,600 B]
- Get:4 http://us.archive.ubuntu.com/ubuntu/ saucy/main libcmap4 amd64 
2.3.0-1ubuntu4 [11.1 kB]
- Get:5 http://us.archive.ubuntu.com/ubuntu/ saucy/main libcpg4 amd64 
2.3.0-1ubuntu4 [11.3 kB]
- Get:6 http://us.archive.ubuntu.com/ubuntu/ saucy/main libdlm3 amd64 
4.0.1-0ubuntu1 [15.1 kB]
- Get:7 http://us.archive.ubuntu.com/ubuntu/ saucy/main libdlmcontrol3 amd64 
4.0.1-0ubuntu1 [9,490 B]
- Get:8 http://us.archive.ubuntu.com/ubuntu/ saucy/main libquorum5 amd64 
2.3.0-1ubuntu4 [7,228 B]
- Get:9 http://us.archive.ubuntu.com/ubuntu/ saucy/universe dlm amd64 
4.0.1-0ubuntu1 [76.2 kB]
- Fetched 213 kB in 20s (10.4 kB/s)
- Selecting previously unselected package libcorosync-common4.
- (Reading database ... 56184 files and directories currently installed.)
- Unpacking libcorosync-common4 (from 
.../libcorosync-common4_2.3.0-1ubuntu4_amd64.deb) ...
- Selecting previously unselected package libqb0.
- Unpacking libqb0 (from .../libqb0_0.16.0.real-1ubuntu2_amd64.deb) ...
- Selecting previously unselected package libcfg6.
- Unpacking libcfg6 (from .../libcfg6_2.3.0-1ubuntu4_amd64.deb) ...
- Selecting previously unselected package libcmap4.
- Unpacking libcmap4 (from .../libcmap4_2.3.0-1ubuntu4_amd64.deb) ...
- Selecting previously unselected package libcpg4.
- Unpacking libcpg4 (from .../libcpg4_2.3.0-1ubuntu4_amd64.deb) ...
- Selecting previously unselected package libdlm3.
- Unpacking libdlm3 (from .../libdlm3_4.0.1-0ubuntu1_amd64.deb) ...
- Selecting previously unselected package libdlmcontrol3.
- Unpacking libdlmcontrol3 (from .../libdlmcontrol3_4.0.1-0ubuntu1_amd64.deb) 
...
- Selecting previously unselected package libquorum5.
- Unpacking libquorum5 (from .../libquorum5_2.3.0-1ubuntu4_amd64.deb) ...
- Selecting previously unselected package dlm.
- Unpacking dlm (from .../dlm_4.0.1-0ubuntu1_amd64.deb) ...
- Processing triggers for man-db ...
- Processing triggers for ureadahead ...
- ureadahead will be reprofiled on next reboot
- Setting up libcorosync-common4 (2.3.0-1ubuntu4) ...
- Setting up libqb0 (0.16.0.real-1ubuntu2) ...
- Setting up libcfg6 (2.3.0-1ubuntu4) ...
- Setting up libcmap4 (2.3.0-1ubuntu4) ...
- Setting up libcpg4 (2.3.0-1ubuntu4) ...
- Setting up libdlm3 (4.0.1-0ubuntu1) ...
+ Get:2 http://us.archive.ubuntu.com/ubuntu/ saucy/main libqb0 amd64 
+ ...
+ ...
  Setting up libdlmcontrol3 (4.0.1-0ubuntu1) ...
  Setting up libquorum5 (2.3.0-1ubuntu4) ...
  Setting up dlm (4.0.1-0ubuntu1) ...
  /etc/init.d/dlm: 22: .: Can't open /etc/rc.d/init.d/functions
  invoke-rc.d: initscript dlm, action "start" failed.
  dpkg: error processing dlm (--configure):
-  subprocess installed post-installation script returned error exit status 2
+  subprocess installed post-installation script returned error exit status 2
  No apport report written because MaxReports is reached already
-   Processing 
triggers for libc-bin ...
+   Processing 
triggers for libc-bin ...
  Processing triggers for ureadahead ...
  Errors were encountered while processing:
-  dlm
+  dlm
  E: Sub-process /usr/bin/dpkg returned an error code (1)
+ 
+ [Test Case]
+ 
+  * Install dlm package
+  * - Note fails to install
+ 
+ [Regression Potential]
+ 
+  * None, already broken, though there is risk of other bugs in the
+ 
+ [Other Info]
+ 
+  * This is a change to the debian provided init script for clvm. Upstream
+debian still has the redhat-cluster package which contains the cman
+tool, as such this change is applicable to Ubuntu only since the
+redhat clustering suite is not available.

-- 
You received this bug notification because you are a member of Ubuntu

[Bug 1248054] Re: dlm package installation fails

2016-01-27 Thread Billy Olsen
** Patch added: "trusty patch"
   
https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+attachment/4557736/+files/lp1248054_trusty.debdiff

** Summary changed:

- dlm package installation fails
+ [SRU] dlm package installation fails

-- 
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:
  [SRU] 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


[Bug 1248054] Re: dlm package installation fails

2016-01-27 Thread Billy Olsen
** Patch added: "xenial patch"
   
https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+attachment/4557734/+files/lp1248054_xenial.debdiff

-- 
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:
  [SRU] 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


[Bug 1248054] Re: dlm package installation fails

2016-01-27 Thread Billy Olsen
** Patch added: "wily patch"
   
https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+attachment/4557735/+files/lp1248054_wily.debdiff

-- 
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:
  [SRU] 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


[Bug 1248054] Re: dlm package installation fails

2016-01-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "dlm.patch" 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

-- 
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


[Bug 1248054] Re: dlm package installation fails

2016-01-20 Thread Mathew Hodson
** This bug is no longer a duplicate of bug 1365444
   dlm has broken init script + missing a dependency

-- 
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


[Bug 1248054] Re: dlm package installation fails

2015-07-30 Thread lynxis lazus
*** This bug is a duplicate of bug 1365444 ***
https://bugs.launchpad.net/bugs/1365444

I've made small modifications to the script.
Be consistant to the scriptname. Use everywhere dlm as NAME except for the 
daemon executable.
This makes it easier for scripts and tools when the same name is used 
everywhere across distros. E.g. for ansible it's good to use the same service 
name everywhere.


** Attachment added: new complete dlm init script
   
https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+attachment/4436565/+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


[Bug 1248054] Re: dlm package installation fails

2015-07-30 Thread lynxis lazus
*** This bug is a duplicate of bug 1365444 ***
https://bugs.launchpad.net/bugs/1365444

patch between the posted dlm init script version and mine

** Patch added: dlm.patch
   
https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+attachment/4436566/+files/dlm.patch

-- 
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


[Bug 1248054] Re: dlm package installation fails

2015-03-12 Thread Travis Bean
*** This bug is a duplicate of bug 1365444 ***
https://bugs.launchpad.net/bugs/1365444

** This bug has been marked a duplicate of bug 1365444
   dlm has broken init script + missing a dependency

-- 
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


[Bug 1248054] Re: dlm package installation fails

2015-03-10 Thread Travis Bean
I already submitted a patch for upstream source code to resolve this
problem, so this bug can be closed. Until the patched binary makes its
way into the mirrors, this is the correct workaround for this problem:

#!/bin/bash
# Install dlm depends.
apt-get -y install daemon
cd /usr/src
# Install source code build depends.
apt-get -y install debhelper devscripts
apt-get -y source dlm
apt-get -y 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 ..
# Prerequisite Depends for DLM.
dpkg -i libdlm*.deb 
dpkg -i dlm_*.deb
rm -rf {libdlm*,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


[Bug 1248054] Re: dlm package installation fails

2014-12-06 Thread Anderson Dias Conectiva
Tanks David. Very Nice

-- 
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


[Bug 1248054] Re: dlm package installation fails

2014-09-02 Thread Ted Bodfish
Thank you David, the init script you provided works. Now on to the next
steps in my quest ...

-- 
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


[Bug 1248054] Re: dlm package installation fails

2014-08-31 Thread David Imhoff
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


[Bug 1248054] Re: dlm package installation fails

2014-08-29 Thread Ted Bodfish
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?

-- 
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


[Bug 1248054] Re: dlm package installation fails

2014-06-18 Thread Jason Waters
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 21; then
#   log_failure_msg clvmd: cluster is not running. Aborting.
#   exit 0
#fi


Again my setup is with pacemaker

-- 
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


[Bug 1248054] Re: dlm package installation fails

2014-06-08 Thread melter
** Summary changed:

- dlm package doesn't install
+ dlm package installation fails

-- 
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