[Bug 884908] Re: Package dependencies need work

Marc Cluet 884908 at bugs.launchpad.net
Wed Nov 23 17:14:08 UTC 2011


New debdiff with improved dependencies

** Patch removed: "mcollective_1.2.1-0ubuntu3.debdiff"
   https://bugs.launchpad.net/ubuntu/oneiric/+source/mcollective/+bug/884908/+attachment/2592650/+files/mcollective_1.2.1-0ubuntu3.debdiff

** Patch added: "mcollective_1.2.1-0ubuntu3.debdiff"
   https://bugs.launchpad.net/ubuntu/oneiric/+source/mcollective/+bug/884908/+attachment/2606199/+files/mcollective_1.2.1-0ubuntu3.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/884908

Title:
  Package dependencies need work

Status in “mcollective” package in Ubuntu:
  Fix Released
Status in “mcollective” source package in Oneiric:
  In Progress
Status in “mcollective” source package in Precise:
  Fix Released

Bug description:
  ---- SRU Justification (Marc Cluet) ----

  TEST CASE:
  1. Install mcollective-middleware, it won't install mcollective
  2. Install mcollective-clients, some of the plugins will fail due to the lack of rubygems, libsystemu-ruby or ruby-json

  REGRESSION POTENTIAL:
  It's just adding missing dependencies, regression potential almost 0 since we don't incur in any other changes.

  COURSE OF ACTION FOR ONEIRIC:
  Add the missing dependencies.

  1. Add mcollective in mcollective-middleware package so it installs the missing daemon
  2. Add rubygems, libsystemu-ruby or ruby-json on mcollective-clients package in order to

  ---- SRU Justification ----

  This is actually a bug report for mcollective, mcollective-middleware
  and mcollective-client.

  The package dependencies need to be looked at because as they stand
  now on Ubuntu 11.10 oneiric, they are not correct.

  What I have discovered so far is:

  mcollective-middleware need to depend on mcollective, otherwise the
  directory /etc/mcollective is not created.

  At least mcollective-client needs to depends on 'rubygems'. Without it you receive the following:
  $ mc-find-hosts
  /usr/lib/ruby/1.8/mcollective.rb:1:in `require': no such file to load -- rubygems (LoadError)
      from /usr/lib/ruby/1.8/mcollective.rb:1
      from /usr/sbin/mc-find-hosts:3:in `require'
      from /usr/sbin/mc-find-hosts:3

  I believe mcollective-middleware also needs to depend on rubygems,
  because the above error was replaced with "silence" after installing
  rubygems. Once I restarted the mcollective service, silence was
  replaced with the correct functionality.

  Please let me know if you need more information.

  Peter

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



More information about the Ubuntu-sponsors mailing list