Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Hardy KVM Failed to add tap interface

  1. #11
    Join Date
    Jun 2007
    Location
    St Charles, MO
    Beans
    34

    Re: Hardy KVM Failed to add tap interface

    your user needs to be in the libvirtd and kvm groups for this to work.

    The #ubuntu-virt channel on FreeNode is a good place to get help. The developers hang out there.

    Rick

  2. #12
    Join Date
    May 2008
    Beans
    15

    Re: Hardy KVM Failed to add tap interface

    My user is in those two groups. Thanks for the tip on the channel. Will ask there.

  3. #13
    Join Date
    May 2007
    Beans
    27

    Re: Hardy KVM Failed to add tap interface

    I'm getting the same error, but running as root does not help for me. Also, it's happening on a per-vm basis. I have one VM which starts up just fine as any user, and another which won't start up at all.

  4. #14
    Join Date
    Feb 2008
    Beans
    23

    Re: Hardy KVM Failed to add tap interface

    I have the same problem and did some searching. This issue has been logged as a bug in Hardy:

    https://bugs.launchpad.net/ubuntu/+s...er/+bug/247677

  5. #15
    Join Date
    Nov 2006
    Location
    UK
    Beans
    661
    Distro
    Ubuntu Development Release

    Lightbulb Re: Hardy KVM Failed to add tap interface

    If you're using tun/tap the user needs to be a member of the tun group and the tun device needs to give the tun group permissions too.

    As it happens I've just documented these steps as part of an article on how to configure VDE networking for KVM.

    Try the steps in the sections "Add User(s) to Groups" and "Give New Devices tun Group Ownership" in my Wiki article.

    Because the udev rule has changed you can either go through a full reboot or manually change the permissions with:
    Code:
    sudo chown :tun /dev/net/tun
    ls -l /dev/net/tun
    crw-rw---- 1 root tun 10, 200 2008-07-02 10:49 /dev/net/tun
    and then do a log-out/log-in to refresh the user's groups membership.

    This works on Gutsy and Hardy at least, that I know of.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •