You did restart libvirtd after making those setting changes, right ?On Sat, Aug 10, 2013 at 08:33:17PM -0600, Joshua McKee wrote:
> Sorry, I accidentally hit send before I was done. Here's the finished
> Thanks! Unfortunately, I am running into the following issue when
> attempting to use the generic ethernet configuration:
> $ virsh -c qemu:///system create /tmp/generic.xml
> error: Failed to create domain from /tmp/generic.xml
> error: internal error process exited while connecting to monitor: kvm:
> -netdev tap,id=hostnet0: could not configure /dev/net/tun: Operation not
> kvm: -netdev tap,id=hostnet0: Device 'tap' could not be initialized
> This is the network part of my xml file:
> <interface type="ethernet"/>
> <interface type="ethernet'>
> <target dev="tap0"/>
> <script path='/etc/qemu-ifup'/>
> In my /etc/libvirt/qemu.conf file I have the following set:
> user = "root"
> group ="root"
> dynamic ownership = 0
> clear_emulator_capabilities = 0
> cgroup_device_acl = [
> "/dev/null", "/dev/full", "/dev/zero",
> "/dev/random", "/dev/urandom",
> "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
> "/dev/rtc", "/dev/hpet",
The user, group & clear_emulator_capabilities settings are the 3 that
matter here & you have them correctly set.
It has apparmour though, which possibly denies access to /dev/net/tun
> I am running Ubuntu 12, which does not use SELinux.