[Bug 1981571] [NEW] no log rotation for conntrackd.log

Junien Fridrick 1981571 at bugs.launchpad.net
Wed Jul 13 12:18:22 UTC 2022


Public bug reported:

Hi,

If someone enables logging in conntrackd.conf ("LogFile on" in the
"General" section, the default is off), the logs are written by default
to /var/log/conntrackd.log. The package doesn't ship with a logrotate
stanza for that file though, so this log file can grow without bound.

The package does ship a logrotate stanza for /var/log/conntrackd-
stats.log, which is the default logfile for stats is stats logs are
enabled ("LogFile on" in the "Stats" section, the dfault is off).

Could we please get a logrotate stanza for /var/log/conntrackd.log ?

See also related bug 1960570 about the "postrotate" section of the
current logrotate stanza.

Thanks !

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

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

Title:
  no log rotation for conntrackd.log

Status in conntrack-tools package in Ubuntu:
  New

Bug description:
  Hi,

  If someone enables logging in conntrackd.conf ("LogFile on" in the
  "General" section, the default is off), the logs are written by
  default to /var/log/conntrackd.log. The package doesn't ship with a
  logrotate stanza for that file though, so this log file can grow
  without bound.

  The package does ship a logrotate stanza for /var/log/conntrackd-
  stats.log, which is the default logfile for stats is stats logs are
  enabled ("LogFile on" in the "Stats" section, the dfault is off).

  Could we please get a logrotate stanza for /var/log/conntrackd.log ?

  See also related bug 1960570 about the "postrotate" section of the
  current logrotate stanza.

  Thanks !

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




More information about the foundations-bugs mailing list