🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Nathan J. Mehl Mon, 22 Jan 1996 00:00
Re: INN & Linux problem
#4142
Author: Nathan J. Mehl
Date: Mon, 22 Jan 1996 00:00
57 lines
2935 bytes
In article <4e0vh3$1mag@usenetw1.news.prodigy.com>,
	davidsen@tmr.com (bill davidsen) writes:
>In article <4dop76$639@mercury.near.net>,
>Nathan J. Mehl <nmehl@bbnplanet.com> wrote:

>| Feh.  Bad move.  Not really your fault - the precompiled INN binaries
>| that come with most Linux distributions are compiled badly, or even
>| just flat-out wrong.  And Slackware isn't nearly as bad as Red Hat...
>
>I've never had any problems with them. I am just building 1.4u3 now,
>and I've built my own 1.4sec2, but the base version seems to work
>reliably if you get the config files right.

Oh, I've no complaints with Linux as an environment to build INN
under - it's actually quite reasonable for that.  It's the pseudo-
plug-and-play version of INN that some of the Linux distributions
try to provide you that really, really bites.

And like I said, slackware is only moderately objectionable
by those standards.  I recently had a close encounter with
Red Hat, and encountered the following bletcherisms:

	/usr/sbin/innd
	/usr/lib/news/innshellvars
	/var/lib/news/history
	/etc/news/hosts.nntp

(Yes, you saw that correctly: $(newslib) was spread out over
*three* different directories.)

The logs, at least, were in the right place, but of course
they hadn't added the necessary lines to the syslog.conf to
actually enable news logging.

...and of course, there was no source tree installed, but
from watching INN fail in several spectacular fashions, it
was pretty trivial to determine that they'd (a) compiled it
with ACT_STYLE set to MMAP on a kernal that didn't support
it (1.2.something), and compiled with HAVE_UNIX_DOMAIN set
to DO without dropping a "localhost:" or something into
hosts.nntp...

My advice to Red Hat users who want to use INN: purge the
preinstalled one from your hard drive, and build UNOFF-3
yourself.

This unprovoked rant was brought to you by the letters R,
F and C, and the number 977.

-- 
                 "The life of a sysadmin is always intense!"
   If you think I speak for my employer, they'll be happy to correct you.
Nathan J. Mehl -- Just another bozo on the usenet bus -- nathan@bbnplanet.com
         <A HREF="http://ccat.sas.upenn.edu/~nmehl">homepagesque</A>


Re: INN & Linux problem (and another one)
#5102
Author: Andrew Bray
Date: Tue, 20 Feb 1996 00:00
77 lines
3553 bytes
In article <4e14o0$291@mercury.near.net>,
Nathan J. Mehl <nmehl@bbnplanet.com> wrote:
>And like I said, slackware is only moderately objectionable
>by those standards.  I recently had a close encounter with
>Red Hat, and encountered the following bletcherisms:
>
>	/usr/sbin/innd
>	/usr/lib/news/innshellvars
>	/var/lib/news/history
>	/etc/news/hosts.nntp

Putting all the config stuff under /etc, and the files
that change a lot under /var/lib all strike me as being
reasonably sensible for a distribution.  I am certainly happier
having /usr with minimal writes.  Having a NFS/cdrom mountable
/usr seems a good idea too.

My only gripes are:

1) Splitting /usr/lib/news means an expdir= parameter is needed
for news.daily.  It took me a while to work this out from the
cryptic error messages in the log.

2) They said that they had installed a samble crontab for news.  They hadn't.

>...and of course, there was no source tree installed, but
>from watching INN fail in several spectacular fashions, it
>was pretty trivial to determine that they'd (a) compiled it
>with ACT_STYLE set to MMAP on a kernal that didn't support
>it (1.2.something), and compiled with HAVE_UNIX_DOMAIN set
>to DO without dropping a "localhost:" or something into
>hosts.nntp...

The source tree is installable as a separate package.

Looking at the source provided shows:
ACT_STYLE		READ
HAVE_UNIX_DOMAIN	DONT
DBZ_CFLAGS		$(CFLAGS)
hosts.nntp		no localhost

1 out of 3 ain't bad :-).

>My advice to Red Hat users who want to use INN: purge the
>preinstalled one from your hard drive, and build UNOFF-3
>yourself.

My experiences with RedHat 2.1 have been different from
Nathan's (maybe we are looking at different versions).
If they had documented the differences a bit more I would
have been happier, but I moved from a home-brew Bogus
compilation to RedHat precompiled inn with very little
effort.  Move a few files, chown my news spool, and a
few minor tweaks to my config files and that was it.

Both my compilation, and RedHat's have the same problem though:
If you get a large number of newgroups together (an artifact
of the way I get my news feed), then you can get some hung
ctlinnd's hanging around.  I am sure that someone has seen
this before, but I could't find it in the FAQ's.  I suspect
that it has something to do with ctlinnd using a named pipe
for newgroups, which have subtly different semantics to
UNIX domain sockets, but I haven't yet had a chance to investigate.

Any hints?

Regards,

Andy


-- 
-----------------------------------------------------------------------------
Andrew Bray                         |  preferred:    mailto:andy@chaos.org.uk
London, England                     |  or:   mailto:andy@madhouse.demon.co.uk

Re: INN & Linux problem (and another one)
#5464
Author: Alan Brown
Date: Sat, 02 Mar 1996 00:00
31 lines
1755 bytes
In article <4gcej1$u54@madhouse.demon.co.uk>,
Andrew Bray <andy@chaos.org.uk> wrote:

>of the way I get my news feed), then you can get some hung
>ctlinnd's hanging around.  I am sure that someone has seen
>this before, but I could't find it in the FAQ's.  I suspect
>that it has something to do with ctlinnd using a named pipe
>for newgroups, which have subtly different semantics to
>UNIX domain sockets, but I haven't yet had a chance to investigate.

It looks like that when I strace it. :-)

>Any hints? 

INN1.4unoff3 and Linux 1.3.70

Then you can turn MMAP back on and set Unix domain sockets to "DO"

:) :)

Linus has annouced a code freeze as of about 1.3.59, which means
that subsequent releases are bugfixes only.

AB

-- 
"But you can't say they have arrived to classify your nervous lies
 What's right, what's not, what may not be. Don't try your tricky tests on me
 For I won't live in fear my friend - that every day could be my end"

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