Summary of checks vs my 7.0 builds

# dpkg -S /etc/libvirt/qemu/networks/default.xml
libvirt-daemon-system: /etc/libvirt/qemu/networks/default.xml

Running this prior to the upgrade shows:
clear; dpkg-query --showformat='${Conffiles}\n' --show libvirt-daemon-system

Differences in
Intended, users usually don't modify these
/etc/apparmor.d/abstractions/libvirt-qemu
/etc/apparmor.d/usr.sbin.libvirtd
/etc/libvirt/libvirtd.conf
/etc/libvirt/qemu.conf
/etc/libvirt/virtlogd.conf
/etc/libvirt/qemu.conf
But also:
/etc/libvirt/qemu/networks/default.xml

And this latter one will be modified by install scripts and the system.
It will have a UUID and a MAC-address, so it will always show up

Due to that it formerly had this issue as reported:

Configuration file '/etc/libvirt/qemu/networks/default.xml'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** default.xml (Y/I/N/O/D/Z) [default=N] ? 

- orig G->H
  libvirt-daemon-system/hirsute 6.9.0-1ubuntu4 amd64 [upgradable from: 
6.6.0-1ubuntu3.1]
  shows the known and reported issue

- new G->H
  libvirt-daemon-system-systemd/hirsute 7.0.0-1ubuntu1~ppa1 amd64 [upgradable 
from: 6.6.0-1ubuntu3.1]

All-defaults (which implies a default xml modified by the maintscripts):
No more shows the conffile prompt (as intended)
  The new code shows to be working
    Installing new version of config file 
/etc/apparmor.d/abstractions/libvirt-lxc ...
    Installing new version of config file 
/etc/apparmor.d/abstractions/libvirt-qemu ...
    Installing new version of config file /etc/apparmor.d/usr.sbin.libvirtd ...
    Installing new version of config file /etc/default/libvirt-guests ...
    Installing new version of config file /etc/libvirt/libvirtd.conf ...
    Installing new version of config file /etc/libvirt/qemu.conf ...
    Installing new version of config file /etc/libvirt/virtlogd.conf ...

Downgrade - ok
Installing new version of config file /etc/apparmor.d/abstractions/libvirt-lxc 
...
Installing new version of config file /etc/apparmor.d/usr.sbin.libvirtd ...
Installing new version of config file /etc/default/libvirt-guests ...
Installing new version of config file /etc/libvirt/qemu.conf ...

Modified upgrade - ok
shows "Configuration file '/etc/libvirt/qemu.conf'"

Modified Downgrade - ok
shows "Configuration file '/etc/libvirt/qemu.conf'"

Reinstall - (new package owning default.xml)
apt install --reinstall libvirt-daemon-system libvirt-daemon-config-network
=> ok (nothing triggers)

Modified reinstall
=> ok (nothing triggers, content stays)


- H-old->H-new
  libvirt-daemon-system-systemd/hirsute 7.0.0-1ubuntu1~ppa1 amd64 [upgradable 
from: 6.9.0-1ubuntu4]
  This will trigger the formerly half done transfer and on upgrade will tell us
  things like:
    Finishing transfer of config file /etc/libvirt/nwfilter/allow-arp.xml (from 
libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file /etc/libvirt/nwfilter/allow-dhcp.xml 
(from libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/allow-dhcp-server.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/allow-incoming-ipv4.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file /etc/libvirt/nwfilter/allow-ipv4.xml 
(from libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file /etc/libvirt/nwfilter/clean-traffic.xml 
(from libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/clean-traffic-gateway.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/no-arp-ip-spoofing.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/no-arp-mac-spoofing.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file /etc/libvirt/nwfilter/no-arp-spoofing.xml 
(from libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file /etc/libvirt/nwfilter/no-ip-multicast.xml 
(from libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file /etc/libvirt/nwfilter/no-ip-spoofing.xml 
(from libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/no-mac-broadcast.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file /etc/libvirt/nwfilter/no-mac-spoofing.xml 
(from libvirt-daemon-system to libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/no-other-l2-traffic.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/no-other-rarp-traffic.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/qemu-announce-self.xml (from libvirt-daemon-system to 
libvirt-daemon-config-nwfilter) ...
    Finishing transfer of config file 
/etc/libvirt/nwfilter/qemu-announce-self-rarp.xml (from libvirt-daemon-system 
to libvirt-daemon-config-nwfilter) ...

Afterwards the state is the same as in G->H

Marking this bug as resolved in the changelog of that coming upload

** Changed in: libvirt (Ubuntu)
       Status: Confirmed => In Progress

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

Title:
  Unwanted conffile prompt on default.xml

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to