As the iface-list command doesn't work, I'm trying to
get physical interface of a host via nodedev-list, but it doesn't give me
bridges, like br0 for example (which exists anyway). How can I retrieve
available bridges of a host ?
From: Dev.Atom
Sent: Tuesday, April 20, 2010 2:09 PM
To: Laine
Stump
Subject: Re: [libvirt] iface-list command in virsh Is there a way to give root privileges to the process
via setcap ?
From: Laine Stump
Sent: Tuesday, April 20, 2010 1:38 PM
To: Dev.Atom
Subject: Re: [libvirt] iface-list command in virsh
When you run virsh locally as non-root, it connects to qemu://session, which doesn't have root privileges, and the iface-* commands won't work (because netcf requires root to run). If you run virsh as root, you will be connected to qemu://system, which has root, and iface-* will work. The failure to work when connecting to a remote libvirtd is puzzling, though.
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list |
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list