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

Aioanei Rares rares.aioanei at gmail.com
Thu Aug 13 15:59:13 UTC 2009


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 the traceback :

raceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 272, in 
show_details
    details = vmmDetails(self.get_config(), con.get_vm(uuid), self)
  File "/usr/share/virt-manager/virtManager/details.py", line 341, in 
__init__
    self.prepare_hw_list()
  File "/usr/share/virt-manager/virtManager/details.py", line 1562, in 
prepare_hw_list
    self.populate_hw_list()
  File "/usr/share/virt-manager/virtManager/details.py", line 1588, in 
populate_hw_list
    self.repopulate_hw_list()
  File "/usr/share/virt-manager/virtManager/details.py", line 1619, in 
repopulate_hw_list
    for diskinfo in self.vm.get_disk_devices():
  File "/usr/share/virt-manager/virtManager/domain.py", line 713, in 
get_disk_devices
    return self._parse_device_xml(_parse_disk_devs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 964, in 
_parse_device_xml
    raise RuntimeError(_("Error parsing domain xml: %s") % str(e))
RuntimeError: Error parsing domain xml: operation virDomainGetXMLDesc 
with secure flag forbidden for read only access

I have one saved VM and I double click on it as normal user and I get this.





More information about the Pkg-libvirt-maintainers mailing list