summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'lua_scripts')
-rw-r--r--lua_scripts/argvenvp.lua2
-rw-r--r--lua_scripts/pathmaps/devel/00_default.lua6
2 files changed, 5 insertions, 3 deletions
diff --git a/lua_scripts/argvenvp.lua b/lua_scripts/argvenvp.lua
index 52d5535..5bb5c80 100644
--- a/lua_scripts/argvenvp.lua
+++ b/lua_scripts/argvenvp.lua
@@ -242,7 +242,7 @@ function check_rule_and_policy(rule, exec_policy, filename, mapped_file)
eps = exec_policy
end
- sb.log("debug", "check_rule_and_policy: "..rs..";"..eps);
+ sb.log("debug", "check_rule_and_policy:Fail: "..rs..";"..eps);
return false, rule, exec_policy
end
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua
index 80b63e7..1426520 100644
--- a/lua_scripts/pathmaps/devel/00_default.lua
+++ b/lua_scripts/pathmaps/devel/00_default.lua
@@ -162,7 +162,8 @@ perl_bin_test = {
{ if_redirect_ignore_is_active = "/usr/bin/perl",
map_to = target_root, readonly = true },
{ if_redirect_force_is_active = "/usr/bin/perl",
- map_to = tools, readonly = true },
+ map_to = tools, readonly = true,
+ exec_policy = exec_policy_tools_perl },
{ if_active_exec_policy_is = "Rootstrap",
map_to = target_root, readonly = true },
{ if_active_exec_policy_is = "Tools-perl",
@@ -174,7 +175,8 @@ python_bin_test = {
{ if_redirect_ignore_is_active = "/usr/bin/python",
map_to = target_root, readonly = true },
{ if_redirect_force_is_active = "/usr/bin/python",
- map_to = tools, readonly = true },
+ map_to = tools, readonly = true,
+ exec_policy = exec_policy_tools_python },
{ if_active_exec_policy_is = "Rootstrap",
map_to = target_root, readonly = true },
{ if_active_exec_policy_is = "Tools-python",