Public bug reported:

Hi,

The current logrotate config is as follows:

===
/var/log/conntrackd-stats.log {
    weekly
    rotate 2
    missingok

    postrotate
        invoke-rc.d conntrackd restart > /dev/null
    endscript
}
===

This causes weekly restarts of conntrackd. Can we switch to using
copytruncate instead to prevent restarting conntrackd?

** Affects: conntrack-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Hi,
  
  The current logrotate config is as follows:
  
  ===
  /var/log/conntrackd-stats.log {
-     weekly
-     rotate 2
-     missingok
+     weekly
+     rotate 2
+     missingok
  
-     postrotate
-         invoke-rc.d conntrackd restart > /dev/null
-     endscript 
+     postrotate
+         invoke-rc.d conntrackd restart > /dev/null
+     endscript
  }
  ===
  
- This causes daily restarts of conntrackd. Can we switch to using
+ This causes weekly restarts of conntrackd. Can we switch to using
  copytruncate instead to prevent restarting conntrackd?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960570

Title:
  Logrotate shouldn't restart conntrackd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/conntrack-tools/+bug/1960570/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to