[Bug 1694159] Re: Complete libvirt migration to Debian style packaging (dependencies, conffiles)

ChristianEhrhardt 1694159 at bugs.launchpad.net
Mon Jun 5 13:11:22 UTC 2017


** Attachment added: "Updated test script"
   https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1694159/+attachment/4889383/+files/conffiles-forgotten-test.sh

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1694159

Title:
  Complete libvirt migration to Debian style packaging (dependencies,
  conffiles)

Status in ginger package in Ubuntu:
  Triaged
Status in kimchi package in Ubuntu:
  Triaged
Status in libvirt package in Ubuntu:
  Triaged
Status in nova package in Ubuntu:
  Confirmed
Status in ubuntu-virt package in Ubuntu:
  Fix Released
Status in uvtool package in Ubuntu:
  Confirmed
Status in virt-manager package in Ubuntu:
  Fix Released
Status in libvirt package in Debian:
  Fix Committed

Bug description:
  TL;DR:
  - post Xenial the transition was made to match Debian packaging
  - among those changes a bigger one is the split of libvirt-bin into libvirt-daemon-system, libvirt-daemon, libvirt-clients
  - libvirt-bin became a transitional package
  - on that transition not all reverse dependencies were fixed
  - also several conffiles where renamed, dropped or moved packag owning it
  We need to:
  - fix dependencies to match the new packaging so we can drop the transitional one day
  - damage on the conffiles is done, but clean up as good as possible especially with the potential yet-unaffected LTS->LTS upgrades in mind.

  Actions:
  - fix dependencies in related ubuntu only packages
  - fix conffile handling in libvirt package
  - remove kimchi and ginger from the archive (Archive admin)

  ----

  While investigating libvirt/dnsmasq interactions for bug #1694156, I
  noticed that I had redundant files under /etc/dnsmasq.d from libvirt-
  daemon-system and libvirt-bin.  Looking at the status of the libvirt-
  bin package, I see the following:

  Package: libvirt-bin
  Status: install ok installed
  Priority: extra
  Section: oldlibs
  [...]
  Conffiles:
   /etc/default/virtlockd de3684752181bda812f7bf4ef983654c obsolete
   /etc/default/libvirt-bin 619ef67a86531f89f4cf45efde87cb82 obsolete
   /etc/init/libvirt-bin.conf e946cc33fb1161ab19eddccfe526cee5 obsolete
   /etc/dnsmasq.d-available/libvirt-bin bbf7e62e130a4cb7b6db7c4260883a68 obsolete
   /etc/libvirt/libvirt-admin.conf 7c1bbeb439d79ec32ff7d18cb1364e2f obsolete
   /etc/cron.daily/libvirt-bin 21a4c092781e8119b8d5aa9d9d3d9f8b obsolete
   /etc/apparmor.d/libvirt/TEMPLATE 0d5580a22d95fc622cd5b8efe54b8757 obsolete
   /etc/dnsmasq.d/libvirt-bin bbf7e62e130a4cb7b6db7c4260883a68 obsolete

  I see that this is a transitional package, but if the libvirt-bin
  package is going to be built at all from the source, it should be
  taking care to remove the obsolete conffiles on upgrade.  This should
  be done now, even though the actual obsolescence happened some time
  ago.

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



More information about the Ubuntu-openstack-bugs mailing list