[Bug 956383] Re: [SRU] Missing binary and dependency in 'cman' binary package

Launchpad Bug Tracker 956383 at bugs.launchpad.net
Fri May 4 13:01:09 UTC 2012

This bug was fixed in the package redhat-cluster - 3.1.7-0ubuntu2.1

redhat-cluster (3.1.7-0ubuntu2.1) precise-proposed; urgency=low

  * debian/control:
    - add xsltproc to cman's deps
  * debian/cman.install:
    - install ccs_update_schema and it's man page
  * debian/cman.dirs:
    - create /var/lib/cluster
  * (LP: #956383)
 -- Ante Karamatic <ivoks at ubuntu.com>   Tue, 26 Apr 2012 08:16:59 +0200

** Changed in: redhat-cluster (Ubuntu Quantal)
       Status: Confirmed => Fix Released

** Changed in: redhat-cluster (Ubuntu Precise)
       Status: Fix Committed => Fix Released

You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.

  [SRU] Missing binary and dependency in 'cman' binary package

Status in “redhat-cluster” package in Ubuntu:
  Fix Released
Status in “redhat-cluster” source package in Precise:
  Fix Released
Status in “redhat-cluster” source package in Quantal:
  Fix Released

Bug description:
  This bug impacts all cman installations in 12.04. Being unable to update cluster.rng means that one can not verify if cluster.conf is valid.

  [Development Fix]
  No development version yet.

  [Stable Fix]
  Patch is a simple patch, affecting only debian/* files. Bug consists of three packaging bugs. Fix makes sure '/var/lib/cluster' is created during installation, it also makes sure 'ccs_update_schema' binary gets installed and adds new dep to cman binary - xsltproc. It's required to properly generate cluster.rng.

  [Test Case]
  1. Install 12.04 and then install cman package
  2. Create file '/tmp/cluster.conf' containing:

  <?xml version="1.0"?>
  <cluster config_version="1" name="test">

  3. Run 'sudo ccs_config_validate -f /tmp/cluster.conf'
  4. Expected result:
  Configuration validates
  (exit code 0)

  [Regression Potential]
  Regression potential is non-existing since current state of package is unusable.

  Original report:

  After installing cman and using ccs_tool to create a basic (but valid)
  /etc/cluster/cluster.conf, I am unable to run ccs_config_validate:

  # ccs_config_validate
  Unable to update relaxng schema: /usr/sbin/ccs_config_validate: line 191: ccs_update_schema: command not found

  I think I have narrowed it down to a missing cluster.rng file:

  # ls -al /usr/share/cluster/cluster.rng
  lrwxrwxrwx 1 root root 28 Jan 13 17:07 /usr/share/cluster/cluster.rng -> /var/lib/cluster/cluster.rng
  # ls -al /var/lib/cluster/cluster.rng
  ls: cannot access /var/lib/cluster/cluster.rng: No such file or directory

  Description:	Ubuntu precise (development branch)
  Release:	12.04

    Installed: 3.1.7-0ubuntu2
    Candidate: 3.1.7-0ubuntu2
    Version table:
   *** 3.1.7-0ubuntu2 0
          500 http://dk.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cman 3.1.7-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
  Uname: Linux 3.2.0-17-generic x86_64
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Thu Mar 15 20:55:35 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120229)
   PATH=(custom, no user)
  SourcePackage: redhat-cluster
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:

More information about the Ubuntu-sponsors mailing list