fagenrules - Man Page

a script that merges component fapolicyd rule files

Synopsis

fagenrules [--check] [--load]

Description

fagenrules is a script that merges all component fapolicyd rules files, found in the fapolicyd rules directory, /etc/fapolicyd/rules.d, placing the merged file in /etc/fapolicyd/compiled.rules. Component fapolicyd rule files, must end in .rules in order to be processed. All other files in /etc/fapolicyd/rules.d are ignored.

The files are concatenated in order, based on their natural sort (see -v option of ls(1)) and stripped of empty and comment (#) lines.

The generated file is only copied to /etc/fapolicyd/compiled.rules, if it differs.

Options

--check

test if rules have changed and need updating without overwriting compiled.rules.

--load

load old or newly built rules into the daemon.

Files

/etc/fapolicyd/rules.d/ /etc/fapolicyd/compiled.rules

See Also

fapolicyd.rules(5), fapolicyd-cli(1), fapolicyd(8).

Referenced By

fapolicyd(8), fapolicyd.rules(5).

Nov 2021 Red Hat System Administration Utilities