-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.1
-
None
-
No
-
None
-
rhel-image-mode
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
Unspecified
-
None
What were you trying to do that didn't work?
As above
What is the impact of this issue to you?
libvirt default network cannot start
Please provide the package NVR for which the bug is seen:
libvirt-11.5.0-3.el10.x86_64
rpm-ostree-2025.10-1.el10.x86_64
bootc-1.4.0-1.el10.x86_64
kernel-6.12.0-116.el10.x86_64
How reproducible is this bug?:
100%
Steps to reproduce
- Prepare a bootc system of RHEL10. E.g
# wget http://dell-per740-36.lab.eng.pek2.redhat.com/libvirt-CI-resources/bootc_guest_images/RHEL-10.1-x86_64-bootc-latest.qcow2 -O /var/lib/libvirt/images/rhel10.qcow2 # virt-install --import --transient -n rhel10 --disk /var/lib/libvirt/images/rhel10.qcow2 --boot uefi -r 4096
- Login to the guest. Install libvirt via rpm-ostree and reboot
(vm)# rpm-ostree install libvirt -y && reboot
- Start virtqemud and virtnetworkd and check the default network
(vm) # systemctl start virtqemud.socket virtnetworkd.socket
(vm) # virsh net-list --all
[ 106.822338] Warning: Unmaintained driver is detected: nft_compat
[ 106.824597] Warning: Unmaintained driver is detected: nft_compat_module_init
Name State Autostart Persistent
----------------------------------------------
default inactive yes yes
The default network is inactive
- Check the logs for virtnetworkd
# journalctl -u virtnetworkd Aug 06 02:11:07 localhost.localdomain systemd[1]: Starting virtnetworkd.service - libvirt network daemon... Aug 06 02:11:07 localhost.localdomain systemd[1]: Started virtnetworkd.service - libvirt network daemon. Aug 06 02:11:07 localhost.localdomain virtnetworkd[6037]: libvirt version: 11.5.0, package: 4.el10 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2025-08-05-10:46:00, ) Aug 06 02:11:07 localhost.localdomain virtnetworkd[6037]: hostname: localhost.localdomain Aug 06 02:11:07 localhost.localdomain virtnetworkd[6037]: internal error: Network is already in use by interface enp1s0 Aug 06 02:11:07 localhost.localdomain virtnetworkd[6037]: Cannot get interface flags on 'virbr0': No such device Aug 06 02:11:07 localhost.localdomain virtnetworkd[6037]: error destroying network device virbr0: No such device
Expected results
The default network is active
Actual results
As above
Additional info:
For step2, if libvirt is installed by dnf ( dnf install libvirt --transient -y ), the issue cannot be reproduced.