[Devel] [PATCH rh8 20/28] ve/kmod/whitelist: Allow NFS modules autoload in Containers

Konstantin Khorenko khorenko at virtuozzo.com
Tue Apr 13 11:25:30 MSK 2021


From: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>

Otherwise Container online migration can fail.

https://jira.sw.ru/browse/PSBM-58178

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
Reviewed-by: Dmitry Safonov <dsafonov at virtuozzo.com>

(cherry picked from vz7 commit
 d6e47c05b868 ("ve/modules: allow NFS modules autoload in Containers"))

Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 kernel/kmod.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kernel/kmod.c b/kernel/kmod.c
index da535e6b2517..3c43dae9f0da 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -280,6 +280,10 @@ static const char * const ve0_allowed_mod[] = {
 	"rtnl-link-dummy",
 	"rtnl-link-vxlan",
 
+	/* NFS */
+	"nfsv3",
+	"nfsv4",
+
 	/* IPVS */
 	"ip_vs_ftp",
 	"ip_vs_nq",
-- 
2.28.0



More information about the Devel mailing list