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

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

On 10/10/2009 08:45 AM, Frederik Himpe wrote:
> 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
>     self.guest.installer.location)
>   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: 
> http://cvs.fedoraproject.org/viewvc/rpms/python-virtinst/devel/virtinst-0.500.0-change-path-perms.patch?revision=1.1

Argh, I addressed this case in an earlier version of that patch, but the
fix was lost somewhere along the way.

I've fixed this upstream:


- Cole

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