[Bug 1007433] Re: zookeeperd not running after installation of zookeeperd

Clint Byrum clint at fewbar.com
Fri Jun 1 21:53:04 UTC 2012


Scott, good call. That was definitely a red herring.

So this appears to be a circular dependency problem with dpkg... because

zookeeperd -> zookeeper -> default-jre-headless -> openjdk-7-jre-
headless

This should always guarantee that openjdk-7-jre-headless is configured
before zookeeperd. Instead it is somehow being configured *after*
default-jre-headless and thus, the alternatives are not set up.

There is a workaround.. if you install with --no-install-recommends

The order is correct.

This also exposes two other bugs to me:

1) /var/lib/zookeeper should belong to zookeeper
2) the upstart job should be reporting the failure, not 'start/running'

** Changed in: zookeeper (Ubuntu)
       Status: In Progress => Triaged

** Changed in: zookeeper (Ubuntu)
     Assignee: Clint Byrum (clint-fewbar) => (unassigned)

** Also affects: dpkg (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- zookeeperd not running after installation of zookeeperd
+ circular dependency causes zookeeperd to not be running after installation of zookeeperd

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1007433

Title:
  circular dependency causes zookeeperd to not be running after
  installation of zookeeperd

Status in “dpkg” package in Ubuntu:
  New
Status in “zookeeper” package in Ubuntu:
  Triaged

Bug description:
  In a fresh quantal cloud image (i used ubuntu-quantal-daily-
  amd64-server-20120531), 'apt-get install zookeeperd' does not result
  in a running zookeeperd.

  to reproduce:
   * launch fresh instance
   * sudo apt-get install --assume-yes zookeeperd
    * status zookeeper

  Note, if you have previously installed zookeeper (not zookeeperd) then
  things will be fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: zookeeperd 3.3.5+dfsg1-2
  ProcVersionSignature: User Name 3.4.0-3.8-generic 3.4.0
  Uname: Linux 3.4.0-3-generic x86_64
  ApportVersion: 2.1.1-0ubuntu1
  Architecture: amd64
  Date: Fri Jun  1 13:44:36 2012
  Ec2AMI: ami-000000ed
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: zookeeper
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1007433/+subscriptions




More information about the foundations-bugs mailing list