From 01e8036a9816764d4ccc17c159a7219ce3e22531 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Thu, 6 Mar 2025 10:41:49 +0300 Subject: [PATCH] logrotate: allow access to unix socket --- nixos/modules/services/logging/logrotate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/logging/logrotate.nix b/nixos/modules/services/logging/logrotate.nix index 07b6eabf2c83..fd62ea813c2c 100644 --- a/nixos/modules/services/logging/logrotate.nix +++ b/nixos/modules/services/logging/logrotate.nix @@ -294,7 +294,7 @@ in UMask = "0027"; } // lib.optionalAttrs (!cfg.allowNetworking) { PrivateNetwork = true; # e.g. mail delivery - RestrictAddressFamilies = "none"; + RestrictAddressFamilies = [ "AF_UNIX" ]; }; }; systemd.services.logrotate-checkconf = {