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

Re: on reloading services from logrotate



On Tue, Nov 18, 2014 at 03:07:02PM -0800, Russ Allbery wrote:
> > Please excuse a little excursion into the inhomogeneity of signalling
> > services from logrotate. I did a little bit of research and came up
> > with the following numbers (sid i386+all main):
> 
> >  -> 360 packages shipping logrotate files
> >     -> 192 with scripts (e.g. reloading a daemon)
> >        -> 64 using invoke-rc.d
> >        -> 34 invoking /etc/init.d/something directly
> >        -> 24 killing via pidifle
> >        -> 13 using killall (I couldn't believe it at first)
> >        -> 7 using start-stop-daemon (the policy has an example)
> >        -> 6 using the service wrapper mentioned above
> >        (some overlaps:
> >         e.g. "[ -x /etc/init.d/foo ] && service foo reload")
> 
> We had a discussion on the Policy team about this a while back, and I
> think our consensus was that everything in Debian, like logrotate and cron
> jobs and so forth, should use invoke-rc.d.  But I think there were some
> caveats to that, and I don't remember the full context.  I suspect it's a
> buried unresolved Policy bug.
There is at least #588085

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: