On 11/01/2010 11:48 AM, Daniel P. Berrange wrote:
NFS in root squash mode may prevent opening disk images to
determine backing store. Ignore errors in this scenario.
* src/security/security_selinux.c: Ignore open failures on disk
images
---
src/security/security_selinux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c
index 0612ce3..edeff10 100644
--- a/src/security/security_selinux.c
+++ b/src/security/security_selinux.c
@@ -482,7 +482,7 @@ SELinuxSetSecurityImageLabel(virSecurityDriverPtr drv,
return virDomainDiskDefForeachPath(disk,
allowDiskFormatProbing,
- false,
+ true,
SELinuxSetSecurityFileLabel,
secdef);
}
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org