🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4015

Re: TIN: an alternative configuration

#4015
From: Colin Macleod
Date: Wed, 28 Apr 1993 21:13
49 lines
3276 bytes
G.D.Pratt (gerry@keele.ac.uk) wrote:

` Basically I have modified (hacked really) tin-1.1pl6 to

`         a) read and write shared indexes on the same machine as news reading
`            takes place - ie the main multiprocessor CC Sequent Symmetry.
`         b) force use of NNTP to a "standard" (ie unpatched/unhacked) NNTP
`            news server Sun 4 running INN 1.3 with some 1.4 mods.
`         c) run a 4 am CRONJOB to update all the shared index files on
`            the main Sequent.
`         d) run gid news safely so that all users can update shared indexes.

Maybe I'm missing something vital, but I don't understand why you need
to modify Tin for this.  As far as I can see I'm getting exactly the
behaviour described with an unmodified copy of tin 1.1PL9.

We also use nntp to read from a central server running INN1.3, which doesn't
support the special tin nntp extensions.  Tin is installed setuid-to-news
to use shared index files.  I had to set SPOOLDIR in the Makefile to a
suitable directory under which to create the shared .index dir, which
is writable by user news and group news, not by others.  Compilation flags
added are
  -DNNTP_ONLY -DNNTP_INEWS -DNNTP_SERVER_FILE=\"/mcs/share/etc/nnpserver\"

(What's STRIP2 for in the Makefile? I set it to /bin/true)

I also have a nightly cron job (not run by root or news) which does the
following:

           /mcs/sun4/bin/tin -f /tmp/tin.groups -u
           rm -f /tmp/tin.groups

- removing the dummy groups (.newsrc) file forces it to be recreated
on each run so that all groups get indexed, otherwise new ones don't
get added.

The one real problem we've had was when some of the students discovered
they could set their NNTPSERVER env. var. and connect to other servers
which offered more groups than our local one does.  Tin wrote indexes
for the alternate server on top of those for the local server, leaving
them unusable.  I've reported this to Iain Lea, who says it will be
fixed in future.  Those of our users who are sophisticated enough to
try this in the first place now understand the problem, and know that
they must specify a different index dir. also if they do this.

______________________________________________________________________________
Colin Macleod, Technical Officer,                      Phone: 0382-23181 x4839
Dundee University Maths & Computer Science Dept.
23 Perth Road, Dundee DD1 4HN, Scotland.     E-Mail: cmacleod@mcs.dundee.ac.uk
Technical Details
Message-ID: <1rms27$ckg@dux.dundee.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!doc.ic.ac.uk!dundee.ac.uk!shiraz!cmacleod
References: <1rj920$7p2@gabriel.keele.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <1rms27$ckg@dux.dundee.ac.uk>
Subject: Re: TIN: an alternative configuration
Date: Wed, 28 Apr 1993 21:13:42 +0000
From: cmacleod@shiraz.mcs.dundee.ac.uk (Colin Macleod)
References: <1rj920$7p2@gabriel.keele.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!doc.ic.ac.uk!dundee.ac.uk!shiraz!cmacleod
Newsgroups: news.software.readers
Organization: Maths & C.S. Dept., Dundee University, Scotland, UK
Lines: 49
Distribution: world
NNTP-Posting-Host: shiraz.mcs.dundee.ac.uk
X-Newsreader: TIN [version 1.1 PL9]