Network install crashes when getfacl is not installed

Bug #533048 reported by David Coles on 2010-03-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtinst (Ubuntu)
Undecided
Marc Deslauriers

Bug Description

Binary package hint: virt-manager

When trying to create a new VM using a network install, the 'Create a new virtual machine' wizard will crash after clicking 'Forward' on Step 2 of 5.

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1069, in validate
    return self.validate_install_page(revalidate=False)
  File "/usr/share/virt-manager/virtManager/create.py", line 1202, in validate_install_page
    self.conn, path)
  File "/usr/share/virt-manager/virtManager/uihelpers.py", line 446, in check_path_search_for_qemu
    broken_paths = VirtualDisk.check_path_search_for_user(conn.vmm, path, user)
  File "/usr/lib/pymodules/python2.6/virtinst/VirtualDisk.py", line 228, in check_path_search_for_user
    if not _is_dir_searchable(uid, username, dirname):
  File "/usr/lib/pymodules/python2.6/virtinst/VirtualDisk.py", line 104, in _is_dir_searchable
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1128, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

The issue here is that VirtualDisk.py:_is_dir_searchable tries to call `getfacl` and throws an OSError if the package acl is not installed.

Either virt-manager package needs the acl package as a dependency or virt-manager needs to be able to handle get/setfacl not being installed.

ProblemType: Bug
Architecture: amd64
Date: Sat Mar 6 12:02:32 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: virt-manager 0.8.2-2ubuntu3
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: virt-manager
Uname: Linux 2.6.32-14-generic x86_64

David Coles (dcoles) wrote :
Marc Deslauriers (mdeslaur) wrote :

Thanks for reporting this issue.

This is actually a bug in virtinst, and was fixed in the 0.500.1-2ubuntu5 package I just uploaded.

affects: virt-manager (Ubuntu) → virtinst (Ubuntu)
Changed in virtinst (Ubuntu):
status: New → Fix Released
David Coles (dcoles) on 2010-03-08
Changed in virtinst (Ubuntu):
assignee: nobody → Marc Deslauriers (mdeslaur)
David Coles (dcoles) wrote :

Thank you. I can confirm that this is fixed in the latest update of Lucid Alpha 3.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers