[Bug 1081034] [NEW] invalid logrotate configuration for unattended-upgrades

Piotr Kęplicz 1081034 at bugs.launchpad.net
Tue Nov 20 09:41:42 UTC 2012


Public bug reported:

Unattended-upgrades logrotate configuration (/etc/logrotate.d
/unattended-upgrades) makes all the u-u logs rotate, not only the main
"unattended-upgrades.log" file, but also daily session logs "unattended-
upgrades-dpkg-$DATE.log".

Daily log files shouldn't be rotated since they're created one per
session and are never written again.

Changing log file definition from 
"/var/log/unattended-upgrades/unattended-upgrades*.log"
to wildcardless
"/var/log/unattended-upgrades/unattended-upgrades.log"
should resolve this problem.

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  invalid logrotate configuration for unattended-upgrades

Status in “unattended-upgrades” package in Ubuntu:
  New

Bug description:
  Unattended-upgrades logrotate configuration (/etc/logrotate.d
  /unattended-upgrades) makes all the u-u logs rotate, not only the main
  "unattended-upgrades.log" file, but also daily session logs
  "unattended-upgrades-dpkg-$DATE.log".

  Daily log files shouldn't be rotated since they're created one per
  session and are never written again.

  Changing log file definition from 
  "/var/log/unattended-upgrades/unattended-upgrades*.log"
  to wildcardless
  "/var/log/unattended-upgrades/unattended-upgrades.log"
  should resolve this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1081034/+subscriptions




More information about the foundations-bugs mailing list