Bug 515547
Summary: | libvirt fails to start guest - Failed to set security label | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark McLoughlin <markmc> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | berrange, clalance, crobinso, dwalsh, eparis, itamar, jkubin, mgrepl, 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-05 21:00:54 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: | 498968 |
Description
Mark McLoughlin
2009-08-04 17:49:29 UTC
Here's what I'm seeing in strace: setxattr("/var/lib/libvirt/images/rawhide.img", "security.selinux", "system_u:object_r:svirt_image_t:s0:c563,c596", 45, 0) = -1 EACCES (Permission denied) getxattr("/var/lib/libvirt/images/rawhide.img", "security.selinux", "system_u:object_r:virt_image_t:s0", 255) = 34 socket(PF_FILE, 0x80001 /* SOCK_??? */, 0) = 3 connect(3, {sa_family=AF_FILE, path="/var/run/setrans/.setrans-unix"...}, 110) = -1 ENOENT (No such file or directory) i.e. setxattr() is returning EACCES, the ENOENT comes later What kind of fs is /var/lib/libvirt/images? It's just my ext3 root fs on an LVM volume danpb and I discussed this briefly earlier and we can't see what changed in libvirt to cause this; could it be a policy regression? Fixed in selinux-policy-3.6.26-6.fc12 Lost an attribute do to update to upstream. thanks, that fixed it |