about summary refs log tree commit diff stats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/apparmor.html18
-rw-r--r--core/conf/apparmor/parser.conf2
2 files changed, 20 insertions, 0 deletions
diff --git a/core/apparmor.html b/core/apparmor.html
index 8b7a30c..c567df8 100644
--- a/core/apparmor.html
+++ b/core/apparmor.html
@@ -165,6 +165,24 @@
         }
         </pre>
 
+        <h3>Seed up profile loading</h3>
+
+        <p>Every time apparmor loads a profile in text it needs
+        to compile into binary format, this takes some time if
+        there is many profiles to load at boot time. To optimize
+        edit /etc/apparmor/parser.conf;</p>
+
+        <pre>
+        ## Turn creating/updating of the cache on by default
+        write-cache
+        </pre>
+
+        <p>To change default location add;</p>
+
+        <pre>
+        chache-loc=/var/cache/apparmor
+        </pre>
+
         <a href="index.html">Core OS Index</a>
         <p>This is part of the Hive System Documentation.
         Copyright (C) 2019
diff --git a/core/conf/apparmor/parser.conf b/core/conf/apparmor/parser.conf
new file mode 100644
index 0000000..673d30a
--- /dev/null
+++ b/core/conf/apparmor/parser.conf
@@ -0,0 +1,2 @@
+## Turn creating/updating of the cache on by default
+write-cache