security.auditd.settings.space_left

If the free space in the filesystem containing log_file drops below this value, the audit daemon takes the action specified by space_left_action. If the value of space_left is specified as a whole number, it is interpreted as an absolute size in mebibytes (MiB). If the value is specified as a number between 1 and 99 followed by a percentage sign (e.g., 5%), the audit daemon calculates the absolute size in megabytes based on the size of the filesystem containing log_file. (E.g., if the filesystem containing log_file is 2 gibibytes in size, and space_left is set to 25%, then the audit daemon sets space_left to approximately 500 mebibytes.

This calculation is performed when the audit daemon starts, so if you resize the filesystem containing log_file while the audit daemon is running, you should send the audit daemon SIGHUP to re-read the configuration file and recalculate the correct per‐ centage.

Type
signed integer or string matching the pattern [0-9]+%
Default
75
Declared
<nixpkgs/nixos/modules/security/auditd.nix>