[arch-general] Strange update of libvirt
Hello, I got the following message when updating: Warnung: /etc/libvirt/qemu/networks/default.xml installed as /etc/libvirt/qemu/networks/default.xml.pacnew As I wanted to know what to copy from the pacnew file, I did: sudo diff /etc/libvirt/qemu/networks/default.xml /etc/libvirt/qemu/networks/default.xml.pacnew The result was: 1,7d0 < <!-- < WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE < OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: < virsh net-edit default < or other application using the libvirt API. < --> < 10,14c3,6 < <uuid>cc98c916-edd7-4e5f-8fbc-60839e8fa692</uuid> < <forward mode='nat'/> < <bridge name='virbr0' stp='on' delay='0'/> < <mac address='52:54:00:3a:62:50'/> < <ip address='192.168.122.1' netmask='255.255.255.0'> ---
<uuid>73618f96-1a85-47a8-a809-7edd8ad7899a</uuid> <bridge name="virbr0"/> <forward/> <ip address="192.168.122.1" netmask="255.255.255.0"> 16c8 < <range start='192.168.122.2' end='192.168.122.254'/>
<range start="192.168.122.2" end="192.168.122.254"/>
First, I noticed the removal of the warning - obviously this file hasn't been used for manual configurations (instead auto-configured) - what has changed in configuration handling? Second, the uuid has changed - why? So, do I have to change my original file or better ignor the pacnew file? Kind regards Peter
This keeps happening for me every time, and I just ignore the .pacnew file. It should actually not be considered on updates because the settings stored therein can be modified through the virt-manager UI anyway. I used to think that adding the path to backups=() in the PKGBUILD would solve the problem, thinking further about it, removing it from the package files completely might be a better idea, though. One other alternative I can think of would be to name your default network differently as to not clash with the package provided setting. cheers! mar77i
participants (2)
-
Martin Kühne
-
Peter Nabbefeld