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

[virt-tools-list] Creation of new VM fails if user qemu does not exist

If no user qemu exists on my system (Mandriva), then creation of a VM
fails with this backtrace, even though /etc/libvirt/qemu.conf contains
user = "root"
group = "root"

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1174, in validate
    return self.validate_install_page(revalidate=False)
  File "/usr/share/virt-manager/virtManager/create.py", line 1300, in validate_install_page
  File "/usr/share/virt-manager/virtManager/create.py", line 64, in check_path_search_for_qemu
    broken_paths = VirtualDisk.check_path_search_for_user(conn.vmm, path, user)
  File "/usr/lib/python2.6/site-packages/virtinst/VirtualDisk.py", line 213, in check_path_search_for_user
    uid = _name_uid(username)
  File "/usr/lib/python2.6/site-packages/virtinst/VirtualDisk.py", line 78, in _name_uid
    pwdinfo = pwd.getpwnam(user)
KeyError: 'getpwnam(): name not found: qemu'

This seems to be caused by this patch: 

Frederik Himpe <fhimpe telenet be>

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