On Thu, Apr 09, 2009 at 12:49:10PM -0400, Joseph Apuzzo wrote:
> I know you need to do a "sudo adduser $USER kvm" to get KVM working for a
> user, but how to get the networking, working? Every time I try and activate
> a network or add a network bridge I get the error:
>
> Traceback (most recent call last):
> File "/usr/share/virt-manager/virtManager/host.py", line 262, in
> start_network
> net.start()
> File "/usr/share/virt-manager/virtManager/network.py", line 71, in start
> self.net.create()
> File "/usr/lib/python2.6/dist-packages/libvirt.py", line 612, in create
> if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
> libvirtError: cannot create bridge 'virbr1': Operation not permittedThis is a fairly persistent problem - users cannot create or change network interfaces (of any type); there is no permissions that can be set to allow this that I'm aware of. You'll need to either use a networking type which is handled by a daemon (I don't know if one exists for KVM/virtmanager, UML did it with a switch daemon and local sockets) or start your guests as root via sudo -m -- Mike Kershaw/Dragorn <[email protected]> GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1 "Hostility towards Microsoft is not difficult to find on the Net, and it blends two strains: resentful people who feel Microsoft is too powerful, and disdainful people who think it's tacky. This is all strongly reminiscent of the heyday of Communism and Socialism, when the bourgeoisie were hated from both ends: by the proles, because they had all the money, and by the intelligentsia, because of their tendency to spend it on lawn ornaments." -- Neal Stephenson
pgpFrtgHRKnY8.pgp
Description: PGP signature
_______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Mar 7 - Web Hack-a-thon - SUNY Newpaltz Apr 1 - EC2 and Cloud Computer May 6 - TBD
