[Bug 1081034] Re: invalid logrotate configuration for unattended-upgrades

Michael Vogt michael.vogt at ubuntu.com
Tue Dec 11 16:53:19 UTC 2012


** Changed in: unattended-upgrades (Ubuntu)
       Status: New => Fix Committed

** Changed in: unattended-upgrades (Ubuntu)
   Importance: Undecided => Medium

-- 
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:
  Fix Committed

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