Skip to content

Commit 01e8036

Browse files
committed
logrotate: allow access to unix socket
1 parent 89cd9e5 commit 01e8036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/services/logging/logrotate.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ in
294294
UMask = "0027";
295295
} // lib.optionalAttrs (!cfg.allowNetworking) {
296296
PrivateNetwork = true; # e.g. mail delivery
297-
RestrictAddressFamilies = "none";
297+
RestrictAddressFamilies = [ "AF_UNIX" ];
298298
};
299299
};
300300
systemd.services.logrotate-checkconf = {

0 commit comments

Comments
 (0)