🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82872

Re: nnrpd -S option invalid

#82872
From: Ray Banana
Date: Sat, 06 Mar 2010 16:33
47 lines
3624 bytes
Thus spake "John F. Morse" <john@example.invalid>
 
>> I was actually referring to the deb-src package containing the Debian
>> build scripts and patches.
> This?:
> http://ftp.de.debian.org/debian/pool/main/i/inn2/inn2_2.5.1.orig.tar.gz
> Do you find the creation of the empty RUNDIR in that source? If so,
> which file?

The Debian modifications are in the .diff file you mention below.

> I did create (touch) the file, but it is still not seen.

Mind the "./" in "./nnrpd-xxx.pid" ;-)
If you do a  "touch /nnrpd-563.pid && chown news:news /nnrpd-563.pid"
prior to invoking 

su news -c '/usr/lib/news/bin/nnrpd-ssl -D -p 563 -S'

it will work, but that's an ugly workaround. Apart from that, this is
not the only problem with paths in nnrpd-ssl. Look where it's looking
for its default readers.conf:

nnrpd-ssl[2899]: stdin cannot open /var/log/news/readers.conf: No such file or directory

> In http://ftp.de.debian.org/debian/pool/main/i/inn2/inn2_2.5.1-1.diff.gz
> Take a look at line 115, 1250 and 1760-1765.

None of them is relevant for the current problem with nnrpd-ssl. 
The cause seems to be buried somewhere in the symlinking shenanigans
prior to the second make run.

> Maybe a clue there, such as replacing the nnrpd with the nnrpd-ssl
> file and renaming it?

Then nnrpd would be broken, too. Not really an improvement.

> I still think that wouldn't help because that nnrpd-ssl is ran with
> the "/usr/lib/news/bin/nnrpd-ssl" and can't find the .pid file.

/usr/lib/news/bin/nnrpd is OK, but doesn't have SSL support. Something
seems to go wrong when nnrpd is built again with SSL enabled and the
resulting executable is renamed to nnrpd-ssl.

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Technical Details
Message-ID: <85sk8dqujw.fsf@banana.shacknet.nu>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!ray-banana.eternal-september.org!.POSTED!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> <85sk8ed2v7.fsf@banana.shacknet.nu> <hmrpsi$mfs$1@optima5.xanadu-bbs.net> <85wrxpyges.fsf@banana.shacknet.nu> <hmtpgk$7la$1@optima5.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <85sk8dqujw.fsf@banana.shacknet.nu>
Subject: Re: nnrpd -S option invalid
Date: Sat, 06 Mar 2010 17:33:23 +0100
From: Ray Banana <rayban@banana.shacknet.nu>
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> <85sk8ed2v7.fsf@banana.shacknet.nu> <hmrpsi$mfs$1@optima5.xanadu-bbs.net> <85wrxpyges.fsf@banana.shacknet.nu> <hmtpgk$7la$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!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!ray-banana.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 47
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sat, 6 Mar 2010 16:34:24 +0000 (UTC)
Injection-Info: ray-banana.eternal-september.org;
 posting-host="hfWL7WNF1SaFU2NJLjkX3g";
 logging-data="25279"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19HSacXYjKQOfqJZxmCSTQk0FWE9sXwgKw="
User-Agent: Plonkenlights
Cancel-Lock: sha1:uzs0+NaEmbS51oNbe6Yxmv7eYMA=
 sha1:D2AJ5HIqr1QUj28kSUQkUD8mjso=
X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent
 iQCVAwUBS5KEDxFgDSXFGJ/lAQGKgwQAvM8VCngQ+RQu48/7yTOjLhcWpaSBG6tt
 BuNpYxiCfdECVwo28nZjoYuTH3eWFQFj4PzajLFwIjDUbLDxq1X523EgmySkbfwH
 3EP5xkOGw1oB1q4VjZFnkBJR4j70dkzjuef5JPPtklvxOdOd4hz3KIATmtJdL3SV
 qR52hMmrgDE= =X7lH
X-Attribution: Ray Banana