[CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

Fri Jan 15 12:14:19 UTC 2010
Christoph Maser <cmr at financial.com>

Am Freitag, den 15.01.2010, 13:08 +0100 schrieb Arturas Skauronas:
> On Fri, Jan 15, 2010 at 11:35 AM, Christopher Thorjussen
> <Christopher.Thorjussen at carrot.no> wrote:
> > I've just updated a few CentOS 5.3 servers to 5.4. One of them were a Apache Webserver. Doing a diff/check on the new ".rpmnew" config files that are made, I saw that the logrotate command for apache was changed. In 5.3 it did a reload, but in 5.4 it does a hard kill:
> >
> > CentOS 5.3:
> >
> > /var/log/httpd/*log {
> >        /sbin/service httpd reload > /dev/null 2>/dev/null || true
> > CentOS 5.4:
> >
> > /var/log/httpd/*log {
> >        /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
>
> strange, because in my systems it does service reload
> logrotate-3.7.4-9


Same here.


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553