This commit is contained in:
Patrick Schleizer 2023-10-22 15:33:11 -04:00
parent 36f2acb93f
commit 70cbe4daaa
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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