Modern distros all install configfs under /sys/kernel/config.
It is thus a better default.
Note: manifest readme.txt suggests /config which is neither standard nor
consistent with example usage.
Will be fixed in a separate patch.
Change-Id: Ia3fec38364cad2eb4a818bfe776ea4da737ef581
Signed-off-by: Michael S. Tsirkin <mst(a)redhat.com>
---
policy/policy.json | 2 +-
policy/parse_policy.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/policy/policy.json b/policy/policy.json
index 28532ad..23be1ce 100755
--- a/policy/policy.json
+++ b/policy/policy.json
@@ -26,6 +26,6 @@
}
},
"log": {
- "log.txt": "/configfs/ikgt_agent/log/log.txt"
+ "log.txt": "/sys/kernel/config/ikgt_agent/log/log.txt"
}
}
diff --git a/policy/parse_policy.py b/policy/parse_policy.py
index 2a6886d..1bfd98e 100755
--- a/policy/parse_policy.py
+++ b/policy/parse_policy.py
@@ -75,7 +75,7 @@ def parse_and_remove_dir_structure(policy_data):
def parse_policy():
parser = argparse.ArgumentParser()
parser.add_argument("-f", "--policy_file", help="JSON file
defining evmm hardening policy", required=True)
- parser.add_argument("-b", "--base_dir", help="Base directory to
start from (eg. /configfs)", required=True)
+ parser.add_argument("-b", "--base_dir", help="Base directory to
start from (eg. /sys/kernel/config)", required=True)
parser.add_argument("-r", "--remove_dir",
action="store_true", help="Remove directory structure in policy
file")
args = parser.parse_args()
--
MST
Show replies by date