Skip to content

Commit

Permalink
Remove noexec permission for /etc (#709)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
usaleem-ix authored Sep 9, 2024
1 parent 822304e commit 730b589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truenas_install/fhs.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
{
'name': 'etc',
'options': ['NOSUID', 'NOACL', 'NOEXEC'],
'options': ['NOSUID', 'NOACL'],
'snap': True
},
{
Expand Down

0 comments on commit 730b589

Please sign in to comment.