There is a relevant bug report against logrotate:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656060

I generally agree with the bug, but in practice u-u's logs compress well
and in compressed form take one block:

$ du -sh /var/log/unattended-upgrades/*
16K     /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
4.0K    /var/log/unattended-upgrades/unattended-upgrades-dpkg.log.1.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades-dpkg.log.2.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades-dpkg.log.3.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades-dpkg.log.4.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades-dpkg.log.5.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades-dpkg.log.6.gz
0       /var/log/unattended-upgrades/unattended-upgrades-shutdown.log
4.0K    /var/log/unattended-upgrades/unattended-upgrades-shutdown.log.1.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades-shutdown.log.2.gz
24K     /var/log/unattended-upgrades/unattended-upgrades.log
4.0K    /var/log/unattended-upgrades/unattended-upgrades.log.1.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades.log.2.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades.log.3.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades.log.4.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades.log.5.gz
4.0K    /var/log/unattended-upgrades/unattended-upgrades.log.6.gz

If logrotate switches to detect the need for compression automatically,
I will stop overriding that in the package.


** Bug watch added: Debian Bug tracker #656060
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656060

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

** Changed in: unattended-upgrades (Ubuntu)
       Status: Confirmed => Opinion

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

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

Title:
  /etc/logrotate.d/unattended-upgrades should not have compress option

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to