Skip to contentSkip to conversation

cmd: net: nfs: Enable the NFS command by default

PATCH NAK Tejas Bhumkar 2 participants 2 messages Dec 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd: net: nfs: Enable the NFS command by default

Activated the default use of NFS command for booting images via network using the NFS protocol.

---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
cmd/Kconfig +1 -0
index df6d71c103..a51b2d532f 100644
@@ -1905,6 +1905,7 @@ config CMD_RARP
 
 config CMD_NFS
 	bool "nfs"
+	default y
 	help
 	  Boot image via network using NFS protocol.
 
Signature · 1 line
2.27.0
Reviewed-by Reviewed-by Ilias Apalodimas on v1 1/1 NAK
#1 lore raw
Quoted 13 lines · Tejas Bhumkar

Activated the default use of NFS command for booting images via network using the NFS protocol.

---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
cmd/Kconfig +0 -0
index df6d71c103..a51b2d532f 100644

cmd/Kconfig config CMD_RARP · line 1910

Quoted 6 lines
cmd/Kconfig +1 -0
@@ -1905,6 +1905,7 @@ config CMD_RARP
 
 config CMD_NFS
 	bool "nfs"
+	default y
 	help
 	  Boot image via network using NFS protocol.

NAK, this is basically a revert of:
commit 10de1257079905ac383e7abf346a04221cafa620

Author: Peter Robinson <[email protected]>
Date:   Wed Jun 14 15:41:10 2023 +0100

disable NFS support by default

While NFS is widely used in data centres, and private networks it's quite a nuanced usecase for device firmware. A lot of devices already disable it.

Various network protocols should really be opt in, not opt out, because they add extra size and are potential attack vectors from a security PoV. In the NFS case it doesn't really make sense for a lot of devices like tables, SBCs etc. It's also something we don't really want for SystemReady-IR due to security concerns.

So please enable this in the configs that you need this enabled in by default, thanks.

Signature · 1 line
Tom