🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Alexis Rosen Thu, 07 Aug 1997 00:00
Some bugs, fixes, and questions about innfeed-0.10.1
#20274
Author: Alexis Rosen
Date: Thu, 07 Aug 1997 00:00
44 lines
2438 bytes
[The following is a copy of mail to inn-bugs@isc.org.]

There is a bug in innfeed 0.10.1 which strikes only when you want to
include the inn .h file. The problem is that config_[yl].c use a token
"STRING", but inn's configdata.h uses STRING to mean something else.
This causes the build process to fail the first time configdata.h is
included by another file.

The fix is to replace all five instances of STRING in config_[yl].c with
LEXSTRING or some similar unique token.

There's another buglet which I haven't dignosed fully or fixed: I changed
the value of backlog-limit in the config file from 0 to 800 (my mistake,
I thought it was measured in K, and now fixed). This caused a coredump.
But then, when I changed it from 800 to 800000, and hit innfeed with a HUP,
the change didn't take, according to the innfeed.status file. Are some
values not rescanned on HUP?

The Makefile install target craps out the first time you install innfeed
(or if it's being installed over a much earlier version) because it tries
to move startinnfeed to startinnfeed.orig and fails to find the file.

The documentation describes a parameter "backlog-highwater" which is not
in the sample config file or the file generated by convertconfig.pl. The
source seems to parse it but on a quick inspection I couldn't figure out
what it did with it. Does it behave as advertised, and if I have enough
memory, does it make sense to increase it over the default?

Likewise, the docs don't mention backlog-rotate-period. Upon RTFS, it seems
to limit the rate at which .output files can be cycled to .input files.
Won't this make it very difficult to catch up the last little bit on a
feed that was backlogged?

Lastly, a mini-docbug: Change "dhrunk" to "shrunk". :-)

/a

---
Alexis Rosen   Owner/Sysadmin,
PANIX Public Access Unix & Internet, NYC.
alexis@panix.com

Re: Some bugs, fixes, and questions about innfeed-0.10.1
#20279
Author: Doug Sewell
Date: Thu, 07 Aug 1997 00:00
49 lines
2459 bytes
Thus spake Alexis Rosen <alexis@panix.com>:
>[The following is a copy of mail to inn-bugs@isc.org.]

ditto.  I'm running Solaris 2.4 for whatever that's worth.

>There is a bug in innfeed 0.10.1 which strikes only when you want to
>include the inn .h file. The problem is that config_[yl].c use a token
>"STRING", but inn's configdata.h uses STRING to mean something else.
>This causes the build process to fail the first time configdata.h is
>included by another file.
>
>The fix is to replace all five instances of STRING in config_[yl].c with
>LEXSTRING or some similar unique token.

I also had to update config_y.h to make this work.

In addition, for a first-time install (I'd never run innfeed before), the
install failed:

| # make install
| rm -f /usr/lib/news/innfeed/innfeed.orig ; mv /usr/lib/news/innfeed/innfeed /usr/lib/news/innfeed/innfeed.orig
| mv: cannot access /usr/lib/news/innfeed/innfeed
| *** Error code 2
| make: Fatal error: Command failed for target `/usr/lib/news/innfeed/innfeed'

If I 'touch 0807000197 innfeed' in the target directory, I get a different
error:

| # make install
| rm -f /usr/lib/news/innfeed/innfeed.orig ; mv /usr/lib/news/innfeed/innfeed /usr/lib/news/innfeed/innfeed.orig
| install -c innfeed /usr/lib/news/innfeed/innfeed
| cp: cannot access /usr/lib/news/innfeed/innfeed
| install: cp /usr/lib/news/innfeed/innfeed innfeed/innfeed failed
| *** Error code 2
| make: Fatal error: Command failed for target `/usr/lib/news/innfeed/innfeed'

When, just for grins, I changed the target directory to "innf" rather than
"innfeed", I got the same error.

I think I'll pass for now.

-- 
Doug Sewell (doug@cc.ysu.edu) (http://cc.ysu.edu/~doug/)
E-mail advertisers: put me on your "don't call, don't e-mail" list.

No one ever becomes extremely vile and wicked all of a sudden. - D.J.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads