Bug 1044413 - virt-manager can't boot from ISO on readonly NFS - unable to set security context
Summary: virt-manager can't boot from ISO on readonly NFS - unable to set security con...
Keywords:
Status: CLOSED DUPLICATE of bug 996543
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 7.0
Assignee: virt-mgr-maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-18 09:31 UTC by Martin
Modified: 2014-09-15 00:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-18 12:06:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Martin 2013-12-18 09:31:53 UTC
Description of problem:
virt-manager can't boot from ISO on readonly NFS
Unable to complete install: 'unable to set security context 'system_u:object_r:virt_content_t:s0'

Version-Release number of selected component (if applicable):
virt-manager-0.10.0-7.el7.noarch
selinux-policy-3.12.1-103.el7.noarch
selinux-policy-targeted-3.12.1-103.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Create a new VM, select local media install.
2. Add ISO on read-only NFS as installation source.
3. Finish VM setup.

Actual results:
Unable to complete install: 'unable to set security context 'system_u:object_r:virt_content_t:s0' on '/mnt/globalsync/fedora/linux/releases/19/Fedora/x86_64/iso/Fedora-19-x86_64-DVD.iso': Read-only file system'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1920, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1143, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1211, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2892, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: unable to set security context 'system_u:object_r:virt_content_t:s0' on '/mnt/globalsync/fedora/linux/releases/19/Fedora/x86_64/iso/Fedora-19-x86_64-DVD.iso': Read-only file system

Comment 1 Giuseppe Scrivano 2013-12-18 12:06:55 UTC

*** This bug has been marked as a duplicate of bug 996543 ***


Note You need to log in before you can comment on or make changes to this bug.