Comment 2 for bug 1014506

Revision history for this message
Daniel Hahler (blueyed) wrote : Re: logrotate /var/log/nginx/*.log included in every nginx-* package

Is it correct that you have upgraded Ubuntu (from/through 9.10)?

There is an issue with the nginx package, where it had nginx-* logrotate scripts for each package, but that is not the case anymore.

They get removed in the pre-install script, but only when installing the package, not during upgrade:
  install)
      # If we are doing a fresh install, then these files are no longer needed.
      # They were around for a very short time and are best simply removed.
      rm -f /etc/logrotate.d/nginx-full
      rm -f /etc/logrotate.d/nginx-light
      rm -f /etc/logrotate.d/nginx-extras
      rm -f /etc/logrotate.d/nginx-common
      ;;