Skip to content

logrotate/systemd: add 'minsize = 1M' to wtmp/btmp rotation#162022

Merged
Artturin merged 1 commit intoNixOS:masterfrom
martinetd:logrotate
Feb 27, 2022
Merged

logrotate/systemd: add 'minsize = 1M' to wtmp/btmp rotation#162022
Artturin merged 1 commit intoNixOS:masterfrom
martinetd:logrotate

Conversation

@martinetd
Copy link
Member

Motivation for this change

align with upstream logrotate which added the minsize rule at some point.
This avoids needlessly rotating the files too often as brought up in
#159187 (comment)

Things done

@martinetd martinetd requested a review from dasJ as a code owner February 26, 2022 22:18
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Feb 26, 2022
@martinetd martinetd mentioned this pull request Feb 26, 2022
3 tasks
align with upstream logrotate which added the minsize rule at some point.
This avoids needlessly rotating the files too often as brought up in
NixOS#159187 (comment)
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 26, 2022
@Artturin Artturin merged commit 3743b49 into NixOS:master Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants