Package: qemu-system-common
Version: 1:10.0.11+ds-0+deb13u1

qemu-system-common's /etc/qemu-ifup depends on ifconfig from net-tools, but this dependency is not declared anywhere.

The effect is that VM networking can break (without any diagnostice that I ever found) if net-tools is not installed. This is a reasonable configuration since it is largely supplanted by iproute2.

Either the package should declare the dependency, or qemu-ifup should be rewritten to use ip(8).

$ dpkg -L qemu-system-common|xargs grep ifconfig 2>/dev/null
/etc/qemu-ifup:   ifconfig "$1" 0.0.0.0 up
$ sha256sum /etc/qemu-ifup
d4fd5cf3e6c293bec0ccbffd73b10d960d62ad65fa5e5cbd5fbad0a9661d40c8 /etc/qemu-ifup
$ dpkg -s qemu-system-common | grep net-tools
$ dpkg -S /usr/sbin/ifconfig
net-tools: /usr/sbin/ifconfig

ttfn/rjk

Reply via email to