test #2 with blocking network

plucky

root@pprc:~# ip addr add 192.168.122.1 dev eth0
root@pprc:~# 
root@pprc:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host proto kernel_lo 
       valid_lft forever preferred_lft forever
36: eth0@if37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UP group default qlen 1000
    link/ether 00:16:3e:7a:99:c0 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.185.198.25/24 metric 100 brd 10.185.198.255 scope global dynamic 
eth0
       valid_lft 3116sec preferred_lft 3116sec
    inet 192.168.122.1/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fd42:50cb:3a48:1f2c:216:3eff:fe7a:99c0/64 scope global mngtmpaddr 
noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::216:3eff:fe7a:99c0/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever
root@pprc:~# 
root@pprc:~# 
root@pprc:~# 
root@pprc:~# apt install --reinstall libvirt-daemon-driver-qemu
Installing:                     
  libvirt-daemon-driver-qemu

Suggested packages:
  numad  passt

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 0 B / 810 kB
  Space needed: 2357 kB / 44.0 GB available

Preconfiguring packages ...
Selecting previously unselected package libvirt-daemon-driver-qemu.
(Reading database ... 44019 files and directories currently installed.)
Preparing to unpack .../libvirt-daemon-driver-qemu_11.0.0-2ubuntu6_amd64.deb ...
Unpacking libvirt-daemon-driver-qemu (11.0.0-2ubuntu6) ...
Setting up libvirt-daemon-driver-qemu (11.0.0-2ubuntu6) ...
useradd warning: libvirt-qemu's uid 64055 is greater than SYS_UID_MAX 999
fatal: The group `libvirt' does not exist.
Default libvirt network on 192.168.122.1/24 already taken
Changing to free 192.168.123.1/24
sed: can't read /etc/libvirt/qemu/networks/default.xml: No such file or 
directory
dpkg: error processing package libvirt-daemon-driver-qemu (--configure):
 installed libvirt-daemon-driver-qemu package post-installation script 
subprocess returned error exit status 2
Processing triggers for man-db (2.13.0-1) ...
Errors were encountered while processing:
 libvirt-daemon-driver-qemu
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)


plucky-proposed

root@ppprop:~# ip addr add 192.168.122.1 dev eth0
root@ppprop:~# 
root@ppprop:~# 
root@ppprop:~# apt install --reinstall 
libvirt-daemon-driver-qemu/plucky-proposed
Selected version '11.0.0-2ubuntu6.2' (Ubuntu:25.04/plucky-proposed [amd64]) for 
'libvirt-daemon-driver-qemu'
Selected version '11.0.0-2ubuntu6.2' (Ubuntu:25.04/plucky-proposed [amd64]) for 
'libvirt-daemon-driver-qemu'
Installing:                 
  libvirt-daemon-driver-qemu

Suggested packages:
  numad  passt

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 810 kB
  Space needed: 2358 kB / 44.0 GB available

Get:1 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 
libvirt-daemon-driver-qemu amd64 11.0.0-2ubuntu6.2 [810 kB]
Fetched 810 kB in 0s (2320 kB/s)                   
Preconfiguring packages ...
Selecting previously unselected package libvirt-daemon-driver-qemu.
(Reading database ... 44175 files and directories currently installed.)
Preparing to unpack .../libvirt-daemon-driver-qemu_11.0.0-2ubuntu6.2_amd64.deb 
...
Unpacking libvirt-daemon-driver-qemu (11.0.0-2ubuntu6.2) ...
Setting up libvirt-daemon-driver-qemu (11.0.0-2ubuntu6.2) ...
useradd warning: libvirt-qemu's uid 64055 is greater than SYS_UID_MAX 999
Default libvirt network on 192.168.122.1/24 already taken
Changing to free 192.168.123.1/24
Enabling libvirt default network
Setting up libvirt-daemon dnsmasq configuration.
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libvirt-daemon (11.0.0-2ubuntu6.2) ...
Scanning processes...                                                           
                                                                                
                               

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this
host.



It does the detection and reconfig to avoid the collision as expected.
All tests done -> verified

** Tags removed: verification-needed verification-needed-plucky
** Tags added: verification-done verification-done-plucky

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

Title:
  libvirt-daemon-driver-qemu fails to install (--configure) due to
  .postinst issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/2107448/+subscriptions


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

Reply via email to