[Pkg-libvirt-maintainers] Bug#541347: Bug#541347: If started as normal user, virt-manager gives a traceback when trying to open a VM

Guido Günther agx at sigxcpu.org
Fri Aug 14 15:18:57 UTC 2009


On Fri, Aug 14, 2009 at 05:03:55PM +0300, Aioanei Rares wrote:
> Guido Günther wrote:
> >On Fri, Aug 14, 2009 at 01:34:31AM +0300, Aioanei Rares wrote:
> >>Guido Günther wrote:
> >>>On Thu, Aug 13, 2009 at 06:59:13PM +0300, Aioanei Rares wrote:
> >>>>Guido Günther wrote:
> >>>>>On Thu, Aug 13, 2009 at 06:36:55PM +0300, Aioanei Rares wrote:
> >>>>>>Package: virt-manager
> >>>>>>Version: 0.7.0-4
> >>>>>>Severity: minor
> >>>>>>
> >>>>>>
> >>>>>>On Fedora for example, virt-manager asks for the root password when
> >>>>>>clicking on it in the menu. I guess it should either do that, or
> >>>>>>inform the user that he/she does not have the necessary privileges.
> >>>>>I can't parse this. Please explain what you are doing and attach a
> >>>>>backtrace if there's one. I assume you're lacking access to the socket.
> >>>>>Cheers,
> >>>>>-- Guido
> >>>>>
> >>>>Error bringing up domain details: Error parsing domain xml:
> >>>>operation virDomainGetXMLDesc with secure flag forbidden for read
> >>>>only access
> >>>And what URI are you connect to qemu:///system? Can you reproduct with
> >>>0.8.0?
> >>>-- Guido
> >>>
> >>I cannot look at the vm details as normal user, because I get the
> >>same error (traceback). I don't know what are you referring to
> >>regarding the URI .
> >What are you connecting to? qemu:///system, qemu:///session, ... - it's
> >in the tooltip of the connection.
> > -- Guido
> >
> qemu:///syste$
Then you're indeed lacking the permissions. If you want a password to be
asked then you have to switch to policy kit (see
/etc/libvirt/libvirtd.conf). If you want to be able to access the VMs
without that you need to be member of group libvirtd. 
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list