nixos/auditd: Use new default socket path
The default path of the audisp socket was chanegd in https://github.com/linux-audit/audit-userspace/commit/4ade1466f91dad3c33b2d92596ef8385f3bc5571
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user