You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,6 +250,13 @@ the fapolicyd configuration directory. There is a new utility, fagenrules,
250
250
which will compile the rules into a single file, compiled.rules, and place the
251
251
resulting file in the main config directory.
252
252
253
+
Starting with 2.0, fagenrules validates the generated candidate with the daemon
254
+
policy parser before installation. It syncs and atomically renames a validated
255
+
candidate into `compiled.rules`, leaving the installed file in place until the
256
+
replacement is ready. It prints a SHA-256 ruleset identity when the rules are
257
+
unchanged or successfully updated. Use `fagenrules --check` to determine
258
+
whether the assembled policy needs an update without replacing `compiled.rules`.
259
+
253
260
If you want to migrate your existing rules, just move them as is to the rules.d
254
261
directory. You cannot have both compiled.rules and fapolicyd.rules. The
255
262
fagenrules will notice this and put a warning in syslog. If you use fapolicyd-cli --list, it will also notice and warn. If you do have both files, the old rules
@@ -340,6 +347,21 @@ had a common denominator. Some primes you might consider for cache size are:
0 commit comments