From the code it seems to me that we need user namespace iff
configured in domain XML. Otherwise we don't use it at all.
However our tool is more strict about that. Fix this discrepancy.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
tools/virt-host-validate-lxc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virt-host-validate-lxc.c b/tools/virt-host-validate-lxc.c
index e604f83..89a6388 100644
--- a/tools/virt-host-validate-lxc.c
+++ b/tools/virt-host-validate-lxc.c
@@ -59,7 +59,7 @@ int virHostValidateLXC(void)
ret = -1;
if (virHostValidateNamespace("LXC", "user",
- VIR_HOST_VALIDATE_FAIL,
+ VIR_HOST_VALIDATE_WARN,
_("User namespace support is recommended"))
< 0)
ret = -1;
--
2.4.10