Bug 1000641
Summary: | SELinux is preventing /usr/bin/qemu-system-x86_64 from 'getattr' accesses on the filesystem /run/media/derekm/LIVE. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Derek P. Moore <derek.p.moore> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:a816d1f09c6ee6ecd8f16edc9011242e7420ba1b2fab2fc0deb6c0605be95f8d | ||
Fixed In Version: | selinux-policy-3.12.1-74.1.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-08 00:36:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Derek P. Moore
2013-08-23 23:25:32 UTC
Also, libreport does not detect GNOME 3 system-wide proxy settings for submitting bug reports to Bugzilla. :) I should probably enter that as a new bug. So you image is installed on a fat file system? Sure enough: /dev/sdb1 on /run/media/derekm/LIVE type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) File is "en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso" Do you have the virt_use_usb boolean turned on? ff1e3933b46537f258292e95708b5cd78ec7ba74 fixes this in git. No, I haven't explicitly set anything with setsebool. This install is brand new and pretty much virgin/stock. Ok turn that boolean on and see if everything works. It will still have a the AVC, but I want to know if you see any other problems. # setsebool -P virt_use_usb 1 Back ported. selinux-policy-3.12.1-74.1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.1.fc19 Package selinux-policy-3.12.1-74.1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-74.1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-15819/selinux-policy-3.12.1-74.1.fc19 then log in and leave karma (feedback). selinux-policy-3.12.1-74.1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. I saw the update come thru so I tested the "setsebool -P virt_use_usb 1" solution prior to update, it did not work, still got the getattr error. Undid bool operation with "setsebool -P virt_use_usb 0" and installed new selinux-policy-3.12.1-74.1.fc19.noarch, ejected and reinserted USB thumbdrive, reopened GNOME Boxes, and now I get 'Connection to "_name_of_vm_" failed'. Do I need to reboot/relabel or something? Thanks! Sorry, I reset "setsebool -P virt_use_usb 1" and now it appears to be working without the getattr warning. I don't know whether virt_use_usb defaults to 0 or 1, but with it set to 0 it was failing on "open", with it set to 1 there is no longer an issue with "getattr". Thanks again! |