[Devel] [PATCH RHEL8 COMMIT] Revert "configs: Disable time namespaces"
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Aug 18 20:52:57 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.vz8.7.7
------>
commit 7db17b41192e581550fe504f9a40182c735aa224
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Wed Aug 18 20:47:25 2021 +0300
Revert "configs: Disable time namespaces"
This reverts commit dda343646c87c0936daf12ba10236c83effc7546.
It turned out that disabling time namespace breaks the kernel badly,
userspace randomly gets asserts from glibc on malloc()/free()
and fails.
Resurrect time namespace support in kernel like it's by default in
RHEL8.4.
May be later we'll fix the kernel to work properly evern without time ns
support, but this is another story.
https://jira.sw.ru/browse/PSBM-132698
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, 1 insertion(+), 5 deletions(-)
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 c4f2fd21c3d6..6c0929ee9485 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 is not set
+CONFIG_TIME_NS=y
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 51b2e941b477..6ff9a0e35db5 100644
--- a/configs/kernel-4.18.0-x86_64-debug.config
+++ b/configs/kernel-4.18.0-x86_64-debug.config
@@ -7917,8 +7917,6 @@ CONFIG_GDB_SCRIPTS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
-# CONFIG_TIME_NS is not set
-
###############################################
# Sanity overrides
#
diff --git a/configs/kernel-4.18.0-x86_64.config b/configs/kernel-4.18.0-x86_64.config
index f82bad56b783..a75d46727c11 100644
--- a/configs/kernel-4.18.0-x86_64.config
+++ b/configs/kernel-4.18.0-x86_64.config
@@ -7864,8 +7864,6 @@ CONFIG_GDB_SCRIPTS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
-# CONFIG_TIME_NS is not set
-
###############################################
# Sanity overrides
#
More information about the Devel
mailing list