M bem/bem_config.py => bem/bem_config.py +3 -0
@@ 105,7 105,10 @@ def load_config(inifile, args, ini_dir):
for key in config:
if key in keytypes:
+ logging.debug("typecasting key '{}' with value '{}' using '{}'"
+ .format(key, config[key], keytypes[key]))
config[key] = keytypes[key](config[key])
+ logging.debug("\t{}".format(config[key]))
# setup environment
if not config["noenvpassthrough"]:
M bem/bem_engine.py => bem/bem_engine.py +2 -0
@@ 149,6 149,8 @@ def execute_command(config, command):
if config["enable_ptrace"]:
caps.append("SYS_PTRACE")
+ logging.debug("caps: {}".format(caps))
+
# TODO: if getcwd does not exist inside of the container (not a child of
# any volume), set to project dir instead
M bem/bem_util.py => bem/bem_util.py +1 -1
@@ 98,4 98,4 @@ def compare_versions(v1, v2):
return True
def parse_bool(s):
- return str(s).lower in ["true", "t", "yes", "1", "on", "one", "yep", "yup"]
+ return (str(s).lower() in ["true", "t", "yes", "1", "on", "one", "yep", "yup"])