[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: unowned directory problem with /etc/logrotate.d



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.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion cora nwra com
Boulder, CO 80301              http://www.cora.nwra.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]