[Pkg-libvirt-maintainers] Bug#752058: virsh --connect list --all does not work for normal user

Mathieu Malaterre malat at debian.org
Thu Jun 19 07:33:44 UTC 2014


Package: libvirt-bin
Version: 0.9.12.3-1

Following instructions from:

https://wiki.debian.org/KVM#Installation

I did:

$ adduser mathieu libvirt
[start new shell]
$ id -nG
mathieu adm cdrom floppy sudo audio dip video plugdev kvm libvirt libvirt-qemu
$ virsh list --all
 Id    Name                           State
----------------------------------------------------

However:

$ sudo virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     Win7DELL                       shut off
 -     Win7DELL-compilation           shut off
 -     WinXPProIBM                    shut off
 -     WinXPSP3ProIBM                 shut off
 -     WinXPSP3ProIBM-clone1          shut off
 -     WinXPSP3ProIBM-trash           shut off


As a normal user I need to call explicitely:


$ virsh --connect qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 -     Win7DELL                       shut off
 -     Win7DELL-compilation           shut off
 -     WinXPProIBM                    shut off
 -     WinXPSP3ProIBM                 shut off
 -     WinXPSP3ProIBM-clone1          shut off
 -     WinXPSP3ProIBM-trash           shut off

The documentation on the wiki is either wrong or the package is buggy in wheezy.

Thanks.



More information about the Pkg-libvirt-maintainers mailing list