Post install check assumes dpkg-vendor

Bug #781716 reported by Graham Hemingway on 2011-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Unassigned
nova (Ubuntu)
Medium
Soren Hansen

Bug Description

See https://answers.launchpad.net/nova/+question/156499 for more details.

The Ubuntu post install script for Nova currently assumes that the machine has dpkg-vendor installed with certain groups setup. This assumption should be removed and a check should be done for libvirtd and libvirt without using dpkg-vendor.

Monty Taylor (mordred) wrote :

Yes - this also makes dpkg-dev effectively a dep for nova, which is fail.

If one wants to get at this data, lsb_release is the standard, always there (except on non-linux-systems) way to find vendor. But really whatever.

Soren Hansen (soren) wrote :

I just moved the magic into debian/rules. Should do the trick. Packages on their way.

Thierry Carrez (ttx) on 2011-05-16
Changed in nova (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Soren Hansen (soren)
Changed in nova:
status: New → Invalid
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 2011.3~bzr1108-0ubuntu1

---------------
nova (2011.3~bzr1108-0ubuntu1) oneiric; urgency=low

  [ Thomas Goirand ]
  * Removes embedded jquery.js from nova-doc package.
  * Added some manpages stubs to make package lintian clean.
  * Adds a nova-volume.default where the admin can decide what VG to use.
  * debian/nova-objectstore.logrotate working in Debian.
  * Do not have debian/*.upstart files in Debian. Using debian/*.upstart.in
  and copying them as .upstart only if building in Ubuntu.
  * Nova init files reviewed so that they are working in Debian.
  * Initscripts of nova-compute now has a Should-Start: libvirt-bin
  * nova-compute.postinst working with libvirt group in Debian.
  * Reviewed the package descriptions.
  * Reviewed some dependencies in debian/control (added some adduser and
  lsb-base depends).
  * Added missing binary Depends: (nova-manage must depends on
  python-amqplib unless failing puiparts tests, nova-compute is pretty
  usless without qemu-utils)
  * Removes .gitignore files from binaries.
  * Don't package nova-manage.1 man page if we aren't building docs.
  * Packages correctly: nova-manage.1 and not novamanage.1 !!!

  [ Soren Hansen ]
  * Bump required version of libvirt-bin on Ubuntu to 0.8.8.
  * Drop the last of the AOE dependencies. iSCSI is the default
    nowadays.
  * Make the decision about the name of the libvirt group at build time
    rather than runtime. (LP: #781716)

  [ Vishvananda Ishaya ]
  * Add dd to the sudo cmd list.
  * Add a nova-vncproxy package.
 -- Soren Hansen <email address hidden> Wed, 25 May 2011 15:57:03 +0200

Changed in nova (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions