[libvirt] discrepancies in issuing virsh capabilities with different user-accounts
Gerrit Slomma
roadrunner_gs at web.de
Wed May 6 19:03:20 UTC 2009
Hello
When doing a virsh capabilities with root i get a different output than
when issuing the command with my own unprivileged account roadrunner.
Furthermore the first issuing of the command as roadrunner throws a
error-message.
Restarting of the libvirt-daemon gives the correct output.
Sample:
Last login: Wed May 6 21:00:56 2009 from 192.168.1.120
[root at rr018 ~]# virsh capabilities|grep kvm
[root at rr018 ~]# su - roadrunner
[roadrunner at rr018 ~]$ virsh capabilities|grep kvm
libvir: Remote Fehler : unable to connect to
'@/home/roadrunner/.libvirt/libvirt-sock': Verbindungsaufbau abgelehnt
Fehler: Verbindung zum Hypervisor scheiterte
Failed to bind socket to '@/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
Failed to bind socket to '@/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
Failed to bind socket to '@/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
Failed to bind socket to '@/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
^C
[roadrunner at rr018 ~]$ virsh capabilities|grep kvm
<domain type='kvm'>
<emulator>/usr/bin/kvm</emulator>
<domain type='kvm'>
[roadrunner at rr018 ~]$ exit
logout
[root at rr018 ~]# virsh capabilities|grep kvm
[root at rr018 ~]# /etc/init.d/libvirtd restart
libvirtd-Daemon beenden: [ OK ]
libvirtd-Daemon starten: [ OK ]
[root at rr018 ~]# virsh capabilities|grep kvm
<domain type='kvm'>
<emulator>/usr/bin/kvm</emulator>
<domain type='kvm'>
[root at rr018 ~]#
More information about the libvir-list
mailing list