Bug 6003 - trn's config is VERY broken
trn's config is VERY broken
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: trn (Show other bugs)
6.1
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-15 21:37 EDT by Craig Kelley
Modified: 2014-03-16 22:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-07-25 17:10:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Craig Kelley 1999-10-15 21:37:13 EDT
6.1 is turning out to be as bad as 5.0 was...

I have an external news server, and everything is setup just
fine (NNTPSERVER is set).  When I try to post:

Check spelling, Send, Abort, Edit, or List? s
Cannot open /etc/news/inn.conf

I don't *run* inn.  It isn't even *installed*.

Argh.  Between this and the installer crashing *multiple*
times and emacs-nox *insisting* on using some file in
/usr/X11 (this is a server with no X11 at all...).  I give
up!

You *do* test these distributions before you send them out,
right?  Sorry for the negativity, but sheesh, it hasn't been
a fun day of upgrading.  (I'm *not* installing 6.1 on our
production boxes any time soon)
Comment 1 Craig Kelley 1999-10-20 18:26:59 EDT
I've narrowed the problem down to inews, but I can't find the SRPMS
for it, so I have no idea how you guys compiled it.
Comment 2 Chris Siebenmann 1999-10-21 04:34:59 EDT
FYI: The inews binary/package appears to be derived from the inn
source rpm (according to 'rpm -qi inews', which shows that as
the source RPM).
Comment 3 rhaig 1999-11-19 13:19:59 EST
from the `rpm -qi inews` output
=======================
Install inews if you need a program for posting Usenet articles to
local news servers.
=======================
the word "local" there concerns me.  So what am I to tell my users if I don't
want them logged in to my news server?

I'm this (-><-) close to just writing a perl script to replace inews in this
case.
Comment 4 rhaig 1999-11-19 13:22:59 EST
The broken component here is actually inews, not trn.  Unless Pnews (part of the
trn package) is going to get a new posting program, in which case that program
should be part of the trn package and the component is set properly.
Comment 5 Craig Kelley 1999-11-19 15:57:59 EST
I fixed the problem by putting an inn.conf file in /etc/news.

This should probably be done by the inews RPM in the case that inn isn't
installed (and it usually *isn't*).

Here's the inn.conf file if you're interested:

   http://inconnu.isu.edu/inn.conf
Comment 6 rhaig 1999-11-19 18:45:59 EST
that's a nice workaround, but to create a config file for software that is
mostly unrelated to the package at hand should not be considered a fix.

The code should be fixed to send the article at hand to the server listed in
/etc/nntpserver,$NNTPSERVER or something on the command line to Pnews(defaulting
to "news" if none is present).

thanks for the workaround by the way.
Comment 7 rhaig 2000-07-25 17:10:59 EDT
I've grabbed the inn-2.2.2 srpm and I'm going to work on a patch to implement my
last suggestion.  I know that 2.2.3 is out, but I don't believe inews.c changed
Comment 8 Trond Eivind Glomsrxd 2001-01-19 19:05:36 EST
This has been fixed in newer versions, which explicitly require inews.
Comment 9 rhaig 2002-10-26 01:39:52 EDT
Note:  trn4 includes inews in it's build.  This may or may not cause problems
depending on how dependancies are structured.  Just a heads-up

Note You need to log in before you can comment on or make changes to this bug.