Description:
I'm trying to set up a KVM instance using a bridge network.
However, I'm getting this error message:
{code}
[root@mrwing ~]# qemu-kvm -netdev bridge,id=hn0 -device virtio-net-pci,netdev=hn0,id=nic1 openwrt-x86-kvm_guest-combined-ext4.img
failed to parse default acl file `/usr/etc/qemu/bridge.conf'
failed to launch bridge helper
qemu-kvm: -netdev bridge,id=hn0: Device 'bridge' could not be initialized
[root@mrwing ~]#
{code}
So, the bridge configuration default acl file exists in {{/etc/qemu/bridge.conf}}, suggesting that qemu-kvm was built with a missing/wrong ./configure parameter?
Looking at the kvm.recipe and ./configure --help, it turns out that --sysconfdir is never explicitly specified?
was:
I'm trying to set up a KVM instance using a bridge network.
However, I'm getting this error message:
{code}
[root@mrwing ~]# qemu-kvm -netdev bridge,id=hn0 -device virtio-net-pci,netdev=hn0,id=nic1 openwrt-x86-kvm_guest-combined-ext4.img
failed to parse default acl file `/usr/etc/qemu/bridge.conf'
failed to launch bridge helper
qemu-kvm: -netdev bridge,id=hn0: Device 'bridge' could not be initialized
[root@mrwing ~]#
{code}
However, the bridge configuration default acl file exists in {{/etc/qemu/bridge.conf}}, suggesting that qemu-kvm was built with a missing/wrong ./configure parameter?
Looking at the kvm.recipe and ./configure --help, it turns out that --sysconfdir is never explicitly specified?
> qemu-kvm looks for /usr/etc/qemu/bridge.conf instead of /etc/qemu/bridge.conf at runtime ?
> ------------------------------------------------------------------------------------------
>
> Security Level: Public(Everyone can see this issue)
> Components: Base Operating System
> Affects Versions: 2.5.x
> Environment: group-xfce-dist-devel=foresight.rpath.org@fl:2-devel/2.5.4+2013.07.12-0.1-1[~!gcc.core]
> Reporter: ermo | Rune Morling
> Assignee: ermo | Rune Morling
>
> I'm trying to set up a KVM instance using a bridge network.
> However, I'm getting this error message:
> {code}
> [root@mrwing ~]# qemu-kvm -netdev bridge,id=hn0 -device virtio-net-pci,netdev=hn0,id=nic1 openwrt-x86-kvm_guest-combined-ext4.img
> failed to parse default acl file `/usr/etc/qemu/bridge.conf'
> failed to launch bridge helper
> qemu-kvm: -netdev bridge,id=hn0: Device 'bridge' could not be initialized
> [root@mrwing ~]#
> {code}
> So, the bridge configuration default acl file exists in {{/etc/qemu/bridge.conf}}, suggesting that qemu-kvm was built with a missing/wrong ./configure parameter?