[Devel] [PATCH RHEL8 COMMIT] configs: Disable time namespaces

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jul 26 20:42:11 MSK 2021


The commit is pushed to "branch-rh8-4.18.0-305.3.1.vz8.7.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-305.3.1.el8
------>
commit 40401e9e408ef572b0cb008f788ad19230656137
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Mon Jul 26 20:38:24 2021 +0300

    configs: Disable time namespaces
    
    vzctl iterates over /proc/<pid>/ns/ and fails to handle time namespace.
    
    In the future we'll teach vzctl to handle time ns and revert our vdso
    and other related patches, but for now let's just disable time namespace
    support.
    
    https://jira.sw.ru/browse/PSBM-132285
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 configs/kernel-4.18.0-x86_64-KVM-minimal.config | 2 +-
 configs/kernel-4.18.0-x86_64-debug.config       | 2 ++
 configs/kernel-4.18.0-x86_64.config             | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/configs/kernel-4.18.0-x86_64-KVM-minimal.config b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
index d0e7368ee3be..1080e84038ce 100644
--- a/configs/kernel-4.18.0-x86_64-KVM-minimal.config
+++ b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
@@ -191,7 +191,7 @@ CONFIG_CGROUP_BPF=y
 CONFIG_SOCK_CGROUP_DATA=y
 CONFIG_NAMESPACES=y
 CONFIG_UTS_NS=y
-CONFIG_TIME_NS=y
+# CONFIG_TIME_NS is not set
 CONFIG_IPC_NS=y
 CONFIG_USER_NS=y
 CONFIG_PID_NS=y
diff --git a/configs/kernel-4.18.0-x86_64-debug.config b/configs/kernel-4.18.0-x86_64-debug.config
index f694346ae6d6..9f4c3a25c47a 100644
--- a/configs/kernel-4.18.0-x86_64-debug.config
+++ b/configs/kernel-4.18.0-x86_64-debug.config
@@ -7917,6 +7917,8 @@ CONFIG_GDB_SCRIPTS=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 
+# CONFIG_TIME_NS is not set
+
 #
 # OpenVZ
 #
diff --git a/configs/kernel-4.18.0-x86_64.config b/configs/kernel-4.18.0-x86_64.config
index f35b5fad6896..f27d162ac71a 100644
--- a/configs/kernel-4.18.0-x86_64.config
+++ b/configs/kernel-4.18.0-x86_64.config
@@ -7864,6 +7864,8 @@ CONFIG_GDB_SCRIPTS=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 
+# CONFIG_TIME_NS is not set
+
 #
 # OpenVZ
 #


More information about the Devel mailing list