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);
}
--
1.7.2.3