Bug 506250
Summary: | svirt prevents symlinks to be used in disk image paths | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan Assmann <sassmann> |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 11 | CC: | berrange, clalance, crobinso, dwalsh, gczarcinski, hbrock, itamar, markmc, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-08-04 15:44:31 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: | |||
Bug Depends On: | |||
Bug Blocks: | 480594 |
Description
Stefan Assmann
2009-06-16 11:49:04 UTC
Any selinux messages ? ' ausearch -ts recent -m AVC' Looks like svirt, I just did: $> mv /var/lib/libvirt/images /var/lib/libvirt/images2 $> ln -s /var/lib/libvirt/images2 /var/lib/libvirt/images $> restorecon /var/lib/libvirt/images and I see: type=AVC msg=audit(1245686812.900:209): avc: denied { read } for pid=23109 comm="setroubleshootd" name="images" dev=dm-1 ino=48592 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virt_image_t:s0 tclass=lnk_file You can add these rules now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.12-57.fc11 Marking closed as per comment #2 |