fagenrules(8)

fagenrules8

A script that merges component fapolicyd rule files

Usage

fagenrules [--check] [--load]

Overview

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

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From fapolicyd 1.3.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.