Bug 574501 - Error starting domain: unable to set security context after adding USB device to host
Summary: Error starting domain: unable to set security context after adding USB device...
Keywords:
Status: CLOSED DUPLICATE of bug 574136
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-17 17:04 UTC by Orion Poplawski
Modified: 2010-03-17 18:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-17 18:13:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2010-03-17 17:04:36 UTC
Description of problem:

Added "Physical Host Device" -> USB -> Device 001:003 OEM Camera.  Listed as USB 046d:09b2 in hardware list.  Now when I try to start I get:

Error starting domain: unable to set security context 'system_u:object_r:svirt_image_t:s0:c436,c506' on '/dev/bus/usb/000/000': No such file or directory

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 589, in run_domain
    vm.startup()
  File "/usr/share/virt-manager/virtManager/domain.py", line 1208, in startup
    self._backend.create()
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 317, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unable to set security context 'system_u:object_r:svirt_image_t:s0:c436,c506' on '/dev/bus/usb/000/000': No such file or directory

Version-Release number of selected component (if applicable):
virt-manager-0.8.3-1.fc13.noarch
libvirt-0.7.7-1.fc13.x86_64

# ls -1 /dev/bus/usb/*/*
/dev/bus/usb/001/001
/dev/bus/usb/001/003
/dev/bus/usb/002/001
/dev/bus/usb/002/002
/dev/bus/usb/003/001
/dev/bus/usb/003/002
/dev/bus/usb/004/001
/dev/bus/usb/005/001
/dev/bus/usb/006/001
/dev/bus/usb/007/001

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=046d ProdID=09b2 Rev= 0.06
S:  Product=OEM Camera

Comment 1 Cole Robinson 2010-03-17 18:13:51 UTC

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


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