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

Re: Bug#334824: logrotate: Postrotate documentation - Why restart?



Kai Hendry wrote:

>I discovered a HUP signal causes Apache just to reload the configs.
>
>  
>
And crash, in certain interesting and curious corner cases.

>Though in Debian Unstable's /etc/logrotate.d/apache2 it actually does a
>*restart* not a kill -HUP.
>
>Which in /etc/init.d/apache2 issues a restart which actually stops the
>server. 
>
>Is that a bug?
>  
>
Yes, but it's one I won't fix until I'm sure that doing a reload won't
crash anymore.  the logrotate script is a conffile, which means we won't
touch it on upgrade without asking first, so feel free to change your
local copy to do whatever works for you.

... Adam



Reply to: