From 70cbe4daaa5cd857c49f2f9b9241f24e2867ab5a Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sun, 22 Oct 2023 15:33:11 -0400 Subject: [PATCH] fix --- usr/bin/remount-secure | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/usr/bin/remount-secure b/usr/bin/remount-secure index 9feb123..0e8f704 100755 --- a/usr/bin/remount-secure +++ b/usr/bin/remount-secure @@ -177,7 +177,9 @@ _tmp() { _var() { mount_folder="$NEWROOT/var" - intended_mount_options="nosuid,nodev${noexec_maybe}" + ## noexec: Not possible. Reason: + ## Debian stores executable maintainer scripts in /var/lib/dpkg/info/ folder. + intended_mount_options="nosuid,nodev" remount_secure "$@" } @@ -225,9 +227,8 @@ main() { _dev_shm _tmp _var - ## /var implies /var/tmp, /var/log and /var/log/audit - #_var_tmp - #_var_log + _var_tmp + _var_log _home end