* [PATCH] kernel-configs: enable namespace support
@ 2017-09-29 10:53 Amir Goldstein
2017-10-01 21:04 ` Theodore Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Amir Goldstein @ 2017-09-29 10:53 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: Eric Biggers, Eryu Guan, Vivek Goyal, fstests
At this time there is only one xfstest that requires namespaces
support (overlay/020) and it requires user namespace support.
This test fails with default kvm-xfstests configs.
Recently, a regression with overlayfs was reported relating
to mount ns, so tests that require only mount ns may be needed too.
This change re-enables the kernel default namespace support for all
kernel configurations and enables user ns support for stable kernels
v3.18 and above, where user ns is considered stable and maintained.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
---
kernel-configs/i386-config-3.10 | 4 ----
kernel-configs/i386-config-3.14 | 4 ----
kernel-configs/i386-config-3.18 | 5 +----
kernel-configs/i386-config-3.2 | 4 ----
kernel-configs/i386-config-3.4 | 4 ----
kernel-configs/i386-config-4.1 | 5 +----
kernel-configs/i386-config-4.4 | 5 +----
kernel-configs/i386-config-4.9 | 5 +----
kernel-configs/x86_64-config-3.10 | 4 ----
kernel-configs/x86_64-config-3.14 | 4 ----
kernel-configs/x86_64-config-3.18 | 5 +----
kernel-configs/x86_64-config-3.2 | 4 ----
kernel-configs/x86_64-config-3.4 | 4 ----
kernel-configs/x86_64-config-4.1 | 5 +----
kernel-configs/x86_64-config-4.4 | 5 +----
kernel-configs/x86_64-config-4.9 | 5 +----
16 files changed, 8 insertions(+), 64 deletions(-)
diff --git a/kernel-configs/i386-config-3.10 b/kernel-configs/i386-config-3.10
index 20f2e18..0ec01c5 100644
--- a/kernel-configs/i386-config-3.10
+++ b/kernel-configs/i386-config-3.10
@@ -8,10 +8,6 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/i386-config-3.14 b/kernel-configs/i386-config-3.14
index 1bd5159..7270033 100644
--- a/kernel-configs/i386-config-3.14
+++ b/kernel-configs/i386-config-3.14
@@ -8,10 +8,6 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/i386-config-3.18 b/kernel-configs/i386-config-3.18
index d31dcab..119ba1b 100644
--- a/kernel-configs/i386-config-3.18
+++ b/kernel-configs/i386-config-3.18
@@ -8,10 +8,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/i386-config-3.2 b/kernel-configs/i386-config-3.2
index f098214..a90b672 100644
--- a/kernel-configs/i386-config-3.2
+++ b/kernel-configs/i386-config-3.2
@@ -6,10 +6,6 @@ CONFIG_FHANDLE=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/i386-config-3.4 b/kernel-configs/i386-config-3.4
index 5703598..54224ce 100644
--- a/kernel-configs/i386-config-3.4
+++ b/kernel-configs/i386-config-3.4
@@ -6,10 +6,6 @@ CONFIG_FHANDLE=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/i386-config-4.1 b/kernel-configs/i386-config-4.1
index 2b65848..88d52d5 100644
--- a/kernel-configs/i386-config-4.1
+++ b/kernel-configs/i386-config-4.1
@@ -8,10 +8,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/i386-config-4.4 b/kernel-configs/i386-config-4.4
index 1f53d44..62854a7 100644
--- a/kernel-configs/i386-config-4.4
+++ b/kernel-configs/i386-config-4.4
@@ -8,10 +8,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/i386-config-4.9 b/kernel-configs/i386-config-4.9
index 7c8b764..bb26945 100644
--- a/kernel-configs/i386-config-4.9
+++ b/kernel-configs/i386-config-4.9
@@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-3.10 b/kernel-configs/x86_64-config-3.10
index cf8216a..a763eed 100644
--- a/kernel-configs/x86_64-config-3.10
+++ b/kernel-configs/x86_64-config-3.10
@@ -7,10 +7,6 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-3.14 b/kernel-configs/x86_64-config-3.14
index 3a40b3d..a276318 100644
--- a/kernel-configs/x86_64-config-3.14
+++ b/kernel-configs/x86_64-config-3.14
@@ -7,10 +7,6 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-3.18 b/kernel-configs/x86_64-config-3.18
index 0eaf2cd..6a8afc8 100644
--- a/kernel-configs/x86_64-config-3.18
+++ b/kernel-configs/x86_64-config-3.18
@@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-3.2 b/kernel-configs/x86_64-config-3.2
index b92cbcc..64ee6a4 100644
--- a/kernel-configs/x86_64-config-3.2
+++ b/kernel-configs/x86_64-config-3.2
@@ -6,10 +6,6 @@ CONFIG_FHANDLE=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-3.4 b/kernel-configs/x86_64-config-3.4
index dcf2008..1a24556 100644
--- a/kernel-configs/x86_64-config-3.4
+++ b/kernel-configs/x86_64-config-3.4
@@ -6,10 +6,6 @@ CONFIG_FHANDLE=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-4.1 b/kernel-configs/x86_64-config-4.1
index 961cf66..c8610d4 100644
--- a/kernel-configs/x86_64-config-4.1
+++ b/kernel-configs/x86_64-config-4.1
@@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-4.4 b/kernel-configs/x86_64-config-4.4
index 65d925e..7dfb7b4 100644
--- a/kernel-configs/x86_64-config-4.4
+++ b/kernel-configs/x86_64-config-4.4
@@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
diff --git a/kernel-configs/x86_64-config-4.9 b/kernel-configs/x86_64-config-4.9
index 66348a3..16e54bc 100644
--- a/kernel-configs/x86_64-config-4.9
+++ b/kernel-configs/x86_64-config-4.9
@@ -6,10 +6,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CGROUPS=y
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kernel-configs: enable namespace support
2017-09-29 10:53 [PATCH] kernel-configs: enable namespace support Amir Goldstein
@ 2017-10-01 21:04 ` Theodore Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2017-10-01 21:04 UTC (permalink / raw)
To: Amir Goldstein; +Cc: Eric Biggers, Eryu Guan, Vivek Goyal, fstests
On Fri, Sep 29, 2017 at 01:53:37PM +0300, Amir Goldstein wrote:
> At this time there is only one xfstest that requires namespaces
> support (overlay/020) and it requires user namespace support.
> This test fails with default kvm-xfstests configs.
>
> Recently, a regression with overlayfs was reported relating
> to mount ns, so tests that require only mount ns may be needed too.
>
> This change re-enables the kernel default namespace support for all
> kernel configurations and enables user ns support for stable kernels
> v3.18 and above, where user ns is considered stable and maintained.
>
> Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Thanks, applied.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-01 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-29 10:53 [PATCH] kernel-configs: enable namespace support Amir Goldstein
2017-10-01 21:04 ` Theodore Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox