Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14817 +/- ##
============================================
+ Coverage 20.80% 20.83% +0.02%
- Complexity 20925 20972 +47
============================================
Files 6053 6054 +1
Lines 548466 549013 +547
Branches 73283 73365 +82
============================================
+ Hits 114129 114375 +246
- Misses 420977 421245 +268
- Partials 13360 13393 +33
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jmsperu
force-pushed
the
fix-6718-conntrackd-logrotate
branch
from
November 24, 2026 05:21
9d39c1a to
2795e2d
Compare
jmsperu
force-pushed
the
fix-6718-conntrackd-logrotate
branch
from
November 24, 2026 18:43
2795e2d to
a6b9b1f
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
On redundant routers conntrackd writes to /var/log/conntrackd.log (General { LogFile on }), but /etc/logrotate.d/conntrackd only rotates conntrackd-stats.log, a file that is not written any more. conntrackd.log is therefore never rotated and can fill /var over time.
This PR adds /var/log/conntrackd.log to the logrotate file (maxsize 10M, 2 rotations, compressed, copytruncate so conntrackd keeps its file handle).
Related to #6718. I could not reproduce the fast growth reported there with plain traffic on 4.22.1.1 (3000 new connections through the PRIMARY router did not add a byte), so this closes the unbounded growth, not necessarily the reporter's exact trigger.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
On a redundant router pair in a lab (CloudStack 4.22.1.1, KVM), on the PRIMARY router:
logrotate -d