nixos/auditd: Use new default socket path

The default path of the audisp socket was chanegd in 4ade1466f9
This commit is contained in:
Grimmauld 2025-09-09 16:59:39 +02:00
commit f063f32450
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -229,7 +229,7 @@ in
path = lib.getExe' pkgs.audit "audisp-af_unix";
args = [
"0640"
"/var/run/audispd_events"
"/run/audit/audispd_events"
"string"
];
format = "binary";

View file

@ -40,7 +40,7 @@
t.assertIn("backlog_limit 512", audit_status)
with subtest("unix socket plugin activated"):
machine.succeed("stat /var/run/audispd_events")
machine.succeed("stat /run/audit/audispd_events")
with subtest("Custom rule produces audit traces"):
machine.succeed("hello")