Thomas M Steenholdt wrote:
So since we're already discussing this, what if all packages that put stuff in logrotate.d, do so from a sub-package... httpd-logrotate (or something)... The -logrotate sub packages should require logrotate and of-course the main package (httpd in this case). Users can remove logrotate and with it, all the -logrotate subpackages from cups, httpd and the rest, but the software will still install and run just fine. This method has the added benefit of giving us a cleaner way to provide log-management for everything, based on an entirely different log-management tool. Put <XXrotatelogsXX> in extras and provide a http-<XXrotatelogsXX> package and all is good.
Interesting idea, but the problem is that you would want the -logrotate packages installed by default to prevent the normal use case from filling /var, and I'm not sure this is possible at the moment.