🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #565

Re: Problem with nntp/C-news/nfs interactions

#565
From: Kurt J. Lidl
Date: Wed, 11 Jul 1990 21:12
31 lines
2272 bytes
In article <1990Jul11.164853.1715@phri.nyu.edu> roy@alanine.phri.nyu.edu (Roy Smith) writes:
>[problem description & solution deleted]

>One question this brings up is, does nntp really have to run as
>root?  Could I run nntp as news instead?  Another is, why didn't nntp log
>any error messages anywhere?  /usr/lib/news/nntperrlog would be the obvious
>place, but there isn't anything there about getting write failures.  There
>are some other error messages in nntperrlog about some random badness in my
>history file, so I know nntpd was able to write onto nntperrlog.

I ran into similar problems a long time ago.  I now run my nntpd as
news.  I'm thoroughly convinced that it is evil to do otherwise.
I don't want the news system to be pukeing random files into /, and
so forth (it has happened here, folks).

The error messages in about random badness in your history file are
a bug in nntp.  I just tracked this down.  For C News, there is
a possibility that the history file will have a entry of
mess-id		(tab)	arrival-time-(return)

i.e. -- only one tab in the line for an expired message.
NNTP thinks that anything that doesn't have two tabs per line in
the history file is corrupted...  There's a one line fix in
the misc.c file of NNTP to make it stop logging these messages.

>Roy Smith, Public Health Research Institute

--
/* Kurt J. Lidl (lidl@eng.umd.edu) | Unix is the answer, but only if you */
/* UUCP: uunet!eng.umd.edu!lidl    | phrase the question very carefully. */
Technical Details
Message-ID: <1990Jul11.211208.21178@eng.umd.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!snorkelwacker!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!lidl
References: <1990Jul11.164853.1715@phri.nyu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1990Jul11.211208.21178@eng.umd.edu>
Subject: Re: Problem with nntp/C-news/nfs interactions
Date: Wed, 11 Jul 1990 21:12:08 +0000
From: lidl@eng.umd.edu (Kurt J. Lidl)
References: <1990Jul11.164853.1715@phri.nyu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!snorkelwacker!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!lidl
Newsgroups: news.software.nntp
Sender: news@eng.umd.edu (The News System)
Organization: College Of Engineering, Univ. of MD, College Park
Lines: 30