
我在 KVM/QEMU 設定中根本沒有使用 libvirtd/virsh 網絡,並且 libvirtd 在啟動時給出以下錯誤
Jan 21 06:05:45 srvtest1 libvirtd[1494]: Unable to find 'dnsmasq' binary in $PATH: No such file or directory
我嘗試禁用/刪除預設網絡,但沒有幫助。
我可以安裝dnsmasq-base
來解決問題,它只有 1MB,但我寧願告訴 libvirtd 根本不尋找它?
更新:
解決方法,按照聖騎士的建議,只需建立腳本/usr/sbin/dnsmasq
#!/bin/sh
# This is a dummy, will be called by virtlibd (dnsmasq --version)
echo "Dnsmasq version 2.89"
exit 0