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

Kirill Tkhai ktkhai at virtuozzo.com
Fri Oct 8 12:51:35 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 6544d56a3f96..36115c12b46c 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -278,6 +278,10 @@ static const char * const ve0_allowed_mod[] = {
 	"rtnl-link-dummy",
 	"rtnl-link-vxlan",
 
+	/* NFS */
+	"nfsv3",
+	"nfsv4",
+
 	/* IPVS */
 	"ip_vs_ftp",
 	"ip_vs_nq",




More information about the Devel mailing list