[PATCH 2/2] virt-host-validate: Fix error level for user namespace check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]