Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. Re: [PATCH] innfeed does not reopen (rotated) log file
      (Florian Schlichting)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Jan 2013 11:02:07 +0100
From: Florian Schlichting <[email protected]>
To: [email protected]
Subject: Re: [PATCH] innfeed does not reopen (rotated) log file
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

On Mon, Jan 07, 2013 at 11:22:59AM -0800, Russ Allbery wrote:
> Julien ?LIE <[email protected]> writes:
> > The only issue I could think of is that the current sighup() function
> > reloads innfeed.conf.  This file would therefore be reloaded everyday,
> > which might cause a problem if it has changed and the news administrator
> > still has not wanted to reload it.  An automatic reload of innfeed.conf
> > would then have innfeed shut down (if for instance the syntax of the new
> > innfeed.conf file is wrong).
> 
> Ah, hm, yes, that's true.  That would be fine with me, but I could see how
> it might be surprising.  We should probably only do that for 2.6.
> 
> Does anyone have any concerns about this and think we should add a
> separate signal for log rotation?

It's the same as what other daemons (e.g. apache2) do after log rotation
/ on SIGHUP, so it shouldn't come as too much of a surprise IMHO.

Related to the original issue, yesterday I noticed that ninpaths and
controlchan have a deleted log/OLD/errlog on stdout and stderr. Perhaps
'ctlinnd flushlogs' as used in scanlogs should also cause flushing of
all channel / exploder feeds?

Florian


PS: insignificant typo:

--- a/doc/pod/newsfeeds.pod
+++ b/doc/pod/newsfeeds.pod
@@ -638,7 +638,7 @@ at its leisure.  File feeds are most frequently used in 
combination with
 nntpsend(8).

 A program feed (B<Tp>) spawns a given program for every article that the
-site receives.  The I<paramter> field must be the command line to execute,
+site receives.  The I<parameter> field must be the command line to execute,
 and should contain one instance of C<%s>, which will be replaced by the
 storage API token of the article (the actual article can be retrieved by
 the program using sm(8)).  The program will not receive anything on


------------------------------

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

End of inn-workers Digest, Vol 47, Issue 3
******************************************

Reply via email to