Your message dated Thu, 19 Jun 2014 17:45:36 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-libvirt-maintainers] Bug#752058: virsh --connect list
--all does not work for normal user
has caused the Debian Bug report #752058,
regarding virsh --connect list --all does not work for normal user
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
752058: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752058
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
On Thu, Jun 19, 2014 at 09:33:44AM +0200, Mathieu Malaterre wrote:
> 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
> ----------------------------------------------------
>
That's expected since libvirt defaults to qemu:///session for
non-root. You can use LIBVIRT_DEFAULT_URI to change this.
Can you fixup the wiki page?
Cheers,
-- Guido
--- End Message ---