[libvirt] discrepancies in issuing virsh capabilities with different user-accounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@rr018 ~]# virsh capabilities|grep kvm
[root@rr018 ~]# su - roadrunner
[roadrunner@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@rr018 ~]$ virsh capabilities|grep kvm
     <domain type='kvm'>
       <emulator>/usr/bin/kvm</emulator>
     <domain type='kvm'>
[roadrunner@rr018 ~]$ exit
logout
[root@rr018 ~]# virsh capabilities|grep kvm
[root@rr018 ~]# /etc/init.d/libvirtd restart
libvirtd-Daemon beenden:                                   [  OK  ]
libvirtd-Daemon starten:                                   [  OK  ]
[root@rr018 ~]# virsh capabilities|grep kvm
     <domain type='kvm'>
       <emulator>/usr/bin/kvm</emulator>
     <domain type='kvm'>
[root@rr018 ~]#

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]