Patch for integration of Python hooks and readers.conf
Russ Allbery
rra at stanford.edu
Tue Aug 20 05:06:58 UTC 2002
Erik Klavon <erik at eriq.org> writes:
> Below is a description of the new behavior implemented by this
> patch. Note that this differs slightly from the description in my
> previous post to inn-workers in the following way: use of both perl and
> python hooks simultaneously is not currently supported. Everything
> compiles fine, but there are problems I haven't fully figured out yet
> (nnrpd dumps core - I think its related to the redirection of stdout and
> stderr).
Does nnrpd always dump core if both Perl and Python are built into it, or
only if both filters are active? The former is a problem; the latter I
don't mind as much (although it still needs to be fixed eventually).
> I'm also not sure about the effects of having both interpreters compiled
> in on innd and its filtering hooks. Has anyone tried this?
I'm pretty sure it works now, although I've not tried with both of them
having active filters. But having them both compiled in but only one of
them used works fine, I believe (and Linux distributors may want to ship
things that way).
> I'll start work on documentation changes and wrapper scripts, but
> these may be delayed somewhat/greatly; the fall semester begins
> for me in a week and I need to wrap up a project at work before that.
I'd feel a lot more comfortable with this with the nnrpd issue clarified
and with some documentation to go with it; I'm inclined to say that we
should hold off for documentation (although that may mean that you'll have
to remerge your patch, as there are a lot of global changes happening to
INN code right now to get rid of obsolete coding standards).
INN 2.4 isn't exactly imminent, but as soon as I manage to get the new
overview stuff fully working I'm going to try to hammer through the rest
of the inn.conf parser, stabilize, and kick it out the door, as we've gone
way too long without a new major stable release. But you've got probably
a couple of months at least.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-patches
mailing list