🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Michael Hall Wed, 04 Feb 1998 00:00
INN & Linux
#25811
Author: Michael Hall
Date: Wed, 04 Feb 1998 00:00
45 lines
2975 bytes

  Help, I'm confused and can't make sense of a couple of things !!
I've been ruuning INN (1.4-1.7.2.insync) on my Linux (2.0.33) box
at home for a personal feed (via uucp over tcp/ip) and as a test
bed for two other ISP's news servers I administer.
  Anyway, enough of the background, I just recently grabbed the 
1.8 stuff (CVS from isc.org) and 'subst' in my old config.data,
everything went fine compiling until it hit the innfeed directory
where it bombed out. I don't remember the exact message but it had
something to do with "NBIO". I then went back through the config.data
and changed the NBIO_STYLE from IOCTL to FCNTL and recompiled, this
time everything compiled fine.
  I guess my question is what should the value of NBIO_STYLE be ?
Also there seems to be a discrepancy over LOCK_STYLE and CLX_STYLE.
I've gone through the FAQ's (#2, #9), config.data-linux-2.0.18 and
the new Managing Usenet (O'Reilly) book. The sample config.data for
Linux appears to be totally off the wall (it's almost identical to
config.dist for BSD/OS except for LOCK_STYLE and a couple of paths)
while the FAQ's, book, etc. all seem to have similar recommendations.
In general they all recommend LOCK_STYLE = FLOCK, CLX_STYLE = FCNTL
and NBIO_STYLE = IOCTL, while the sample config for Linux reccommends
LOCK_STYLE = FCNTL, CLX_STYLE = IOCTL and NBIO_STYLE = FCNTL.
  I've also looked through the innfeed 0.10.1.7 files which I also
have compiled and in the sysconfig.h under the Linux section there
is a "#define NBIO_FCNTL 1" line, this line is not in the sysconfig.h
in the INN 1.8 which probably explains why it didn't compile until I
changed the config.data NBIO_STYLE from IOCTL to FCNTL.
  While INN seems to work set either way, innfeed doesn't. I'm just
trying to avoid any possible problems and get it set correctly. I'd
appreciate any input on LOCK_STYLE, CLX_STYLE and NBIO_STYLE settings
anybody can give as well as the why's. I can plug in values all day
long but I have an inquiring mind and like to know why :-)
  Thanks !!

 
--
Mike Hall <mhall@rockisland.com>    *nix, Perl, CGI hacker...
P.O. Box 1065                       Certified OS/2 Specialist
Friday Harbor, WA 98250             Sorry, no Win* :-)
***---***---***---***---***---***---***---***---***---***
To get my PGP key send email with Subject: Request PGP key


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