Your message dated Mon, 03 Oct 2005 00:17:05 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#330634: fixed in heartbeat-2 2.0.2-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Sep 2005 00:59:16 +0000
>From [EMAIL PROTECTED] Wed Sep 28 17:59:16 2005
Return-path: <[EMAIL PROTECTED]>
Received: from amsfep11-int.chello.nl (amsfep19-int.chello.nl) [213.46.243.19] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EKmlY-0001gV-00; Wed, 28 Sep 2005 17:59:16 -0700
Received: from [127.0.0.1] (really [213.132.149.173])
          by amsfep19-int.chello.nl
          (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
          id <[EMAIL PROTECTED]>;
          Thu, 29 Sep 2005 02:58:43 +0200
Content-Type: multipart/mixed; boundary="===============0984335323=="
MIME-Version: 1.0
From: Filip Sneppe <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: heartbeat-2: Missing dirs + wrong dir permissions for cim/crm to work
 properly
X-Mailer: reportbug 3.17
Date: Thu, 29 Sep 2005 02:58:44 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0984335323==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: heartbeat-2
Version: 2.0.2-3
Severity: important


Hi,

After trying to run cib and crm by enabling it with this directive
in /etc/ha.d/ha.cf:

crm yes

I get the following messages in /var/log/sysog, and crmd and
cib die:

....
Sep 29 01:34:13 localhost ccm: [9146]: ERROR: socket_wait_conn_new:
trying to create in /var/run/heartbeat/ccm/ccm bind:: No such file or
directory
....
Sep 29 01:34:13 localhost cib: [9147]: ERROR: Cannot write to
/var/lib/heartbeat/crm/cib.xml: Permission denied
....
Sep 29 01:34:13 localhost cib: [9147]: ERROR: socket_wait_conn_new:
trying to create in /var/run/heartbeat/crm/cib_callback bind:: No such
file or directory

All this can be resolved by:
- creating the /var/run/heartbeat/ccm/ directory with the correct
  permissions and ownership
- creating the /var/run/heartbeat/crm/ directory with the correct
  permissions and ownsership
- setting the correct permissions and ownership on
  /var/lib/heartbeat/crm/

I have patched my debian build directory with these changes
(I will attach the patch) and rebuilt heartbeat-2 to verify that this
does indeed fix the problem.

Obviously this problem doesn't show up if crm is not enabled.

Thanks for the packaging effort!

Regards,
Filip

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages heartbeat-2 depends on:
ii  adduser                3.67              Add and remove users and groups
ii  iproute                20041019-3        Professional tools to control the 
ii  libc6                  2.3.5-6           GNU C Library: Shared libraries an
ii  libglib2.0-0           2.8.0-1           The GLib library of C routines
ii  libltdl3               1.5.20-2          A system independent dlopen wrappe
ii  libncurses5            5.4-9             Shared libraries for terminal hand
ii  libnet1                1.1.2.1-2         library for the construction and h
ii  libopenipmi0           2.0.1-1           Intelligent Platform Management In
ii  libsensors3            1:2.9.2-2         library to read temperature/voltag
ii  libsnmp9               5.2.1.2-3         NET SNMP (Simple Network Managemen
ii  libssl0.9.7            0.9.7e-3          SSL shared libraries
ii  libuuid1               1.38-2            universally unique id library
ii  libwrap0               7.6.dbs-8         Wietse Venema's TCP wrappers libra
ii  libxml2                2.6.21-1          GNOME XML library
ii  netkit-ping            0.10-10.2         The ping utility from netkit
ii  python                 2.3.5-3           An interactive high-level object-o
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

Versions of packages heartbeat-2 recommends:
ii  logrotate                     3.7.1-2    Log rotation utility
ii  sysklogd [system-log-daemon]  1.4.1-17   System Logging Daemon

-- no debconf information

*** /home/sneppef/Software/heartbeat-dirfix.diff
diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs 
heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs
--- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs  2005-09-29 
02:00:02.000000000 +0200
+++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs       2005-09-29 
01:37:18.000000000 +0200
@@ -28,3 +28,5 @@
 var/lib/heartbeat/ckpt
 var/lock/subsys
 var/run/heartbeat
+var/run/heartbeat/ccm
+var/run/heartbeat/crm
diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst 
heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst
--- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst      
2005-08-11 10:23:41.000000000 +0200
+++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst   2005-09-29 
01:55:46.000000000 +0200
@@ -30,6 +30,18 @@
         chown hacluster /var/lib/heartbeat/ccm
         chgrp haclient /var/lib/heartbeat/ccm
 
+       chmod 750 /var/lib/heartbeat/crm
+       chown hacluster /var/lib/heartbeat/crm
+       chgrp haclient /var/lib/heartbeat/crm
+
+       chmod 750 /var/run/heartbeat/ccm
+       chown hacluster /var/run/heartbeat/ccm
+       chgrp haclient /var/run/heartbeat/ccm
+
+       chmod 750 /var/run/heartbeat/crm
+       chown hacluster /var/run/heartbeat/crm
+       chgrp haclient /var/run/heartbeat/crm
+
        chmod 2555 /usr/bin/cl_status
        chgrp haclient /usr/bin/cl_status
 

--===============0984335323==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="heartbeat-dirfix.diff"

diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs 
heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs
--- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs  2005-09-29 
02:00:02.000000000 +0200
+++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs       2005-09-29 
01:37:18.000000000 +0200
@@ -28,3 +28,5 @@
 var/lib/heartbeat/ckpt
 var/lock/subsys
 var/run/heartbeat
+var/run/heartbeat/ccm
+var/run/heartbeat/crm
diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst 
heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst
--- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst      
2005-08-11 10:23:41.000000000 +0200
+++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst   2005-09-29 
01:55:46.000000000 +0200
@@ -30,6 +30,18 @@
         chown hacluster /var/lib/heartbeat/ccm
         chgrp haclient /var/lib/heartbeat/ccm
 
+       chmod 750 /var/lib/heartbeat/crm
+       chown hacluster /var/lib/heartbeat/crm
+       chgrp haclient /var/lib/heartbeat/crm
+
+       chmod 750 /var/run/heartbeat/ccm
+       chown hacluster /var/run/heartbeat/ccm
+       chgrp haclient /var/run/heartbeat/ccm
+
+       chmod 750 /var/run/heartbeat/crm
+       chown hacluster /var/run/heartbeat/crm
+       chgrp haclient /var/run/heartbeat/crm
+
        chmod 2555 /usr/bin/cl_status
        chgrp haclient /usr/bin/cl_status
 

--===============0984335323==--

---------------------------------------
Received: (at 330634-close) by bugs.debian.org; 3 Oct 2005 07:20:10 +0000
>From [EMAIL PROTECTED] Mon Oct 03 00:20:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EMKZN-0003Xj-00; Mon, 03 Oct 2005 00:17:05 -0700
From: Simon Horman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#330634: fixed in heartbeat-2 2.0.2-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 03 Oct 2005 00:17:05 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: heartbeat-2
Source-Version: 2.0.2-4

We believe that the bug you reported is fixed in the latest version of
heartbeat-2, which is due to be installed in the Debian FTP archive:

heartbeat-2-dev_2.0.2-4_i386.deb
  to pool/main/h/heartbeat-2/heartbeat-2-dev_2.0.2-4_i386.deb
heartbeat-2_2.0.2-4.diff.gz
  to pool/main/h/heartbeat-2/heartbeat-2_2.0.2-4.diff.gz
heartbeat-2_2.0.2-4.dsc
  to pool/main/h/heartbeat-2/heartbeat-2_2.0.2-4.dsc
heartbeat-2_2.0.2-4_i386.deb
  to pool/main/h/heartbeat-2/heartbeat-2_2.0.2-4_i386.deb
ldirectord-2_2.0.2-4_all.deb
  to pool/main/h/heartbeat-2/ldirectord-2_2.0.2-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Horman <[EMAIL PROTECTED]> (supplier of updated heartbeat-2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 29 Sep 2005 12:16:03 +0900
Source: heartbeat-2
Binary: heartbeat-2-dev ldirectord-2 heartbeat-2
Architecture: source i386 all
Version: 2.0.2-4
Distribution: unstable
Urgency: low
Maintainer: Simon Horman <[EMAIL PROTECTED]>
Changed-By: Simon Horman <[EMAIL PROTECTED]>
Description: 
 heartbeat-2 - Subsystem for High-Availability Linux
 heartbeat-2-dev - Subsystem for High-Availability Linux - development files
 ldirectord-2 - Monitors virtual services provided by LVS
Closes: 330634
Changes: 
 heartbeat-2 (2.0.2-4) unstable; urgency=low
 .
   * Include /var/lib/heartbeat/ccm and /var/run/heartbeat/crm
     (closes: #330634)
Files: 
 e43dae01a5e23e72c7faf697e24a0d96 898 admin optional heartbeat-2_2.0.2-4.dsc
 ea3611674a67a7da08598caca411e77d 28168 admin optional 
heartbeat-2_2.0.2-4.diff.gz
 cc14c58e1517fa68fbc1cefae661c39a 48790 admin optional 
ldirectord-2_2.0.2-4_all.deb
 1e04d5486a1c994cd0a1ae3b279d8e95 1072638 admin optional 
heartbeat-2_2.0.2-4_i386.deb
 e5f367b04b995404f9c4c9ececeff253 275076 devel optional 
heartbeat-2-dev_2.0.2-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDO17Kdu+M6Iexz7URAoqQAKCFtzcxk9tRhR8elQYtHSYv9wq8CwCfY7Wv
x2OKMmqsTE1jvM2XepnYtjY=
=t9dz
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to