Skip to content

Commit 6a7db3a

Browse files
authored
logrotate: allow access to unix socket (#387522)
2 parents fd487d6 + 01e8036 commit 6a7db3a

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)