Can't create guests from ISOs on Samba share and NTFS - "search permissions" error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager |
Fix Released
|
Medium
|
|||
virt-manager (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: virt-manager
When trying to create a new VM using virt-manager, an error is displayed inviting to fix permissions:
"The emulator may not have search permissions for the path '/home/
Do you want to correct this now ?
If one chooses 'Yes' a final error is displayed which includes:
"Errors were encountered changing permissions for the following directories:
/home/myuser/
This seems to be the same as the following upstream bug:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: virt-manager (not installed)
ProcVersionSign
Uname: Linux 2.6.35-24-generic i686
NonfreeKernelMo
Architecture: i386
Date: Mon Jan 3 12:48:29 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: virt-manager
Changed in virt-manager (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
description: | updated |
summary: |
- Can't create guests from hosts on Samba share - "search permissions" + Can't create guests from ISOs on Samba share - "search permissions" error |
Changed in virt-manager: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
tags: | removed: maverick precise |
Description of problem:
When trying to install a guest from an ISO file in an NFS-mounted directory I get this from virt-manager:
Error
Unable to complete install '<class 'libvirt. libvirtError' > internal error unable to start guest: libvir: QEMU error : cannot set ownership on /mnt/cyberelk/ Fedora- 11-x86_ 64-DVD/ Fedora- 11-x86_ 64-DVD. iso: Read-only file system
Traceback (most recent call last): virt-manager/ virtManager/ create. py", line 1489, in do_install install( False, meter = meter) python2. 6/site- packages/ virtinst/ Guest.py" , line 628, in start_install install( consolecb, meter, removeOld, wait) python2. 6/site- packages/ virtinst/ Guest.py" , line 726, in _do_install createLinux( install_ xml, 0) python2. 6/site- packages/ libvirt. py", line 1077, in createLinux 'virDomainCreat eLinux( ) failed', conn=self) Fedora- 11-x86_ 64-DVD/ Fedora- 11-x86_ 64-DVD. iso: Read-only file system
File "/usr/share/
dom = guest.start_
File "/usr/lib/
return self._do_
File "/usr/lib/
self.domain = self.conn.
File "/usr/lib64/
if ret is None:raise libvirtError(
libvirtError: internal error unable to start guest: libvir: QEMU error : cannot set ownership on /mnt/cyberelk/
'
Version-Release number of selected component (if applicable): 0.8.0-1. fc12.noarch 0.7.0-3. fc12.x86_ 64
virt-manager-
libvirt-
How reproducible:
100%
Steps to Reproduce: "system_ u:object_ r:virt_ content_ t:s0"
1.Mount NFS directory with '-ocontext=
2.Install guest from ISO in that directory.
Actual results:
Error message.
Additional info: /mnt/archive/ rh on /mnt/cyberelk type nfs (rw,context= "system_ u:object_ r:virt_ content_ t:s0",addr= 192.168. 2.1)
$ mount | grep virt
cyberelk:
$ ls -l /mnt/cyberelk/ Fedora- 11-x86_ 64-DVD/ 11-x86_ 64-CHECKSUM 11-x86_ 64-DVD. iso
total 4172188
-rw-rw-r--. 1 twaugh twaugh 1620 2009-06-17 07:44 Fedora-
-rw-rw-r--. 1 root root 4268124160 2009-06-18 00:06 Fedora-
drwxr-xr-x. 2 root root 4096 2009-07-22 17:04 loop