community/libvirt: can not start virtual interfaces using virsh net-start xyz
Package Information
- Package name, version:
libvirt-10.10.0-r0
- Alpine version:
3.21.0 (edge) x86_64
Summary
libvirt 10.10.0 (upgrade MR: !76325 (merged)) introduced the following commits:
https://gitlab.com/libvirt/libvirt/-/commit/6412c2cb517b771ff295d58c787ff4e1dd58086f
https://gitlab.com/libvirt/libvirt/-/commit/e9e5ebe6a6e063fa73e57d9714cdcc56c8b65cf6
These use tc
from iproute2-tc
to calculate some package checksums, where a workaround has existed before to zero them out.
The point is, that the iproute2-tc
package has been an upstream dependency already for some releases (missing in our package).
Installing iproute2-tc
fixes the problem when using virsh net-start default
box:~# virsh net-start isolated
error: Failed to start network isolated
error: Cannot find 'tc' in path: No such file or directory
box:~# apk add iproute2-tc
The following NEW packages will be installed:
iproute2-tc
Need to download 251 KiB of packages.
After this operation, 596 KiB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(1/1) Installing iproute2-tc (6.11.0-r0)
Executing busybox-1.37.0-r10.trigger
OK: 6396 MiB in 1860 packages
box:~# virsh net-start isolated
Network isolated started
box:~#
Fix / MR
Edited by Krassy Boykinov