From 0e9ca54a3977480baeff7cb31a000616f2e33922 Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Mon, 9 Sep 2024 18:41:31 +0500 Subject: [PATCH] Remove noexec permission for /etc (#708) grub2 installs config generation scripts under /etc/grub.d/. If update-grub cannot run those scripts, config generation fails and update-grub errors out. We should remove noexec for etc dataset. There has been an upstream ZFS fix that enforces the correct mount options for Linux runtime. To enable that patch, we should first remove noexec permission for /etc, otherwise installation would break. Signed-off-by: Umer Saleem --- truenas_install/fhs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truenas_install/fhs.py b/truenas_install/fhs.py index 66c5a4b1..c27b084a 100644 --- a/truenas_install/fhs.py +++ b/truenas_install/fhs.py @@ -114,7 +114,7 @@ }, { 'name': 'etc', - 'options': ['NOSUID', 'NOACL', 'NOEXEC'], + 'options': ['NOSUID', 'NOACL'], 'snap': True }, {