<div dir="ltr"><div><div><div><div>Hello, i got this error trying to assign usb host device using virt-manager on fedora 23.<br></div>Command line given by the error does nothing...<br></div>I can assign devices launching the vm with qemu-kvm command line but since i used virt to create the vm i don't have a script, tried to modify an existing one but i got boot failed error).<br></div>I'm finally at the final step, the vm is working but i'm stuck on this for almost a week.<br></div>any help please?<br><div><div><div><div><div><br><br>SELinux is preventing qemu-system-x86 from open access on the file /run/udev/data/+usb:2-2:1.0.<br><br>*****  Plugin catchall (100. confidence) suggests   **************************<br><br>If you believe that qemu-system-x86 should be allowed open access on the +usb:2-2:1.0 file by default.<br>Then you should report this as a bug.<br>You can generate a local policy module to allow this access.<br>Do<br>allow this access for now by executing:<br># grep qemu-system-x86 /var/log/audit/audit.log | audit2allow -M mypol<br># semodule -i mypol.pp<br><br>Additional Information:<br>Source Context                system_u:system_r:svirt_t:s0:c586,c745<br>Target Context                system_u:object_r:udev_var_run_t:s0<br>Target Objects                /run/udev/data/+usb:2-2:1.0 [ file ]<br>Source                        qemu-system-x86<br>Source Path                   qemu-system-x86<br>Port                          <Unknown><br>Host                          localhost.localdomain<br>Source RPM Packages           <br>Target RPM Packages           <br>Policy RPM                    selinux-policy-3.13.1-152.fc23.noarch<br>Selinux Enabled               True<br>Policy Type                   targeted<br>Enforcing Mode                Enforcing<br>Host Name                     localhost.localdomain<br>Platform                      Linux localhost.localdomain 4.2.5-300.fc23.x86_64<br>                              #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64<br>Alert Count                   25<br>First Seen                    2015-11-11 10:40:33 CET<br>Last Seen                     2015-11-11 10:40:33 CET<br>Local ID                      3e5c4669-b37d-4cc3-a378-5478f7a8e451<br><br>Raw Audit Messages<br>type=AVC msg=audit(1447234833.722:610): avc:  denied  { open } for  pid=2757 comm="qemu-system-x86" path="/run/udev/data/+usb:2-2:1.0" dev="tmpfs" ino=14872 scontext=system_u:system_r:svirt_t:s0:c586,c745 tcontext=system_u:object_r:udev_var_run_t:s0 tclass=file permissive=0<br><br><br>Hash: qemu-system-x86,svirt_t,udev_var_run_t,file,open<br></div></div></div></div></div></div>