🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82850

Re: nnrpd -S option invalid

#82850
From: Bruce Esquibel
Date: Fri, 05 Mar 2010 17:57
40 lines
2793 bytes
John F. Morse <john@example.invalid> wrote:

> When I wrote "Everything looks good here" above, I may have implied that 
> the trouble was fixed.

> It isn't, and I still cannot find why SSL/TLS fails with nnrpd despite 
> the apparently-correct permissions.

> Any other ideas?


Besides going back to the retards that put the package together, this really
isn't a problem with INN that anyone can help with.

I don't know what tools you have but like on Solaris, if you truss the
program it will show all the places and files a program is trying to open or
write to. That would give a substantial clue where the pid is trying to be
written to.

The sudo attempt you made shows the problem isn't permissions (directories
or files owned by news) but more likely a missing directory. Even root
cannot write to a directory if it doesn't already exist.

Unless there was a substantial change in the 2.5.x branch, nnrpd-ssl isn't
part of the distribution, if you compile it yourself. Once INN is made aware
you have ssl libraries, a single nnrpd is created, used for both standard
and encrypted connections.

Only rough guess is the nnrpd-ssl came from somewhere else or was compiled
differently where it's looking for like /var/run/news or /var/spool/news/run
or any other of the billions of combinations. It's supposed to read the
pathrun from inn.conf but obviously if root is getting a "can't write", they
did something else in the binary with the path.

Maybe it's not even reading inn.conf and trying to write everything under /.

Sky's the limit.

-bruce
bje@ripco.com
Technical Details
Message-ID: <hmrgm2$aej$1@remote5bge0.ripco.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.glorb.com!news.ripco.com!not-for-mail
References: <hmokmn$pti$1@optima5.xanadu-bbs.net> <hmomfa$sk$1@solani.org> <hmoqg2$rk4$1@optima5.xanadu-bbs.net> <85ocj4rn7b.fsf@banana.shacknet.nu> <hmotpk$si9$1@optima5.xanadu-bbs.net> <hmr58k$gob$1@optima5.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <hmrgm2$aej$1@remote5bge0.ripco.com>
Subject: Re: nnrpd -S option invalid
Date: Fri, 05 Mar 2010 17:57:22 +0000
From: Bruce Esquibel <bje@ripco.com>
References: <hmokmn$pti$1@optima5.xanadu-bbs.net> <hmomfa$sk$1@solani.org> <hmoqg2$rk4$1@optima5.xanadu-bbs.net> <85ocj4rn7b.fsf@banana.shacknet.nu> <hmotpk$si9$1@optima5.xanadu-bbs.net> <hmr58k$gob$1@optima5.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.glorb.com!news.ripco.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Ripco Communications Inc.
Lines: 40
NNTP-Posting-Host: shell3.ripco.com
X-Trace: remote5bge0.ripco.com 1267811842 10707 74.8.102.118 (5 Mar 2010
X-Complaints-To: usenet@ripco.com
NNTP-Posting-Date: Fri, 5 Mar 2010 17:57:22 +0000 (UTC)
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.10
 (i86pc))