[fedora-virt] selinux /dev/net/tun
markmc at redhat.com
Thu Jan 29 08:52:29 UTC 2009
On Wed, 2009-01-28 at 21:34 -0500, James Hubbard wrote:
> I have a windows xp guest working using qemu-kvm with "-net nic -net
> user". I'm attempting to use bridging. I've created the br0 interface
> and modified my eth0 file. Bridging seems to be working. I'm able to
> access the machine from other places.
You follow the instructions here?
> When I try to start qemu-kvm
> with these options "-net nic,macaddr=11:22:33:44:55:66 -net tap" I get
> this error:
> warning: could not configure /dev/net/tun: no virtual network emulation
> Could not initialize device 'tap'
> These errors are in /var/log/messages.
> setroubleshoot: SELinux is preventing qemu-kvm (qemu_t) "read write"
> to tun (virt_image_t). For complete SELinux messages. run sealert -l
Strange. Do what it says and run 'sealert -l ...' to help figure out
Does e.g. 'restorecon /dev/net/tun' help?
More information about the Fedora-virt