🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82854

Re: nnrpd -S option invalid

#82854
From: Ray Banana
Date: Fri, 05 Mar 2010 18:45
54 lines
3733 bytes
Thus spake "John F. Morse" <john@example.invalid>
 
> When I wrote "Everything looks good here" above, I may have implied
> that the trouble was fixed.

Actually, that's what I gathered from your previous reply ;-)

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

So far, I did a fresh install of inn2_2.5.1-1_i386.deb on a Sid system
(sorry, no Squeeze available, but the inn2 packages in Squeeze and Sid
are currently the same). I can confirm that

1. inn2_2.5.1-1_i386.deb doesn't install a default inn.conf and hence
   install fails

2. If I manually copy a inn.conf.dpkg-dist from another system to
   /etc/news/ and re-run the installation, it will succeed and start
   innd.

3. if I uncomment the line 

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

    in /etc/init.d/inn2 it will attempt to start nnrpd-ssl, which fails
    with "nnrpd-ssl[5047]: cannot write nnrpd-563.pid Permission
    denied". pathrun points to /var/run/news, which is owned by user
    news and is populated with 

    -rw-r--r--  1 news news   11  5. Mar 19:15 LOCK.innwatch
    -rw-rw-r--  1 news news    5  5. Mar 19:15 innwatch.pid
    srwxrwxr-x  1 news news    0  5. Mar 19:25 nntpin
    -rw-rw-r--  1 news news    5  5. Mar 19:25 innd.pid
    srwxrwxr-x  1 news news    0  5. Mar 19:25 control




4. if I run the above command through strace, I get a segfault:

   kernel: [ 2499.059495] nnrpd-ssl[6252]: segfault at 20666f01 ip
   0806948a sp bfebfb50 error 4 in nnrpd-ssl[8048000+63000]    

My conclusion so far is that inn2_2.5.1-1_i386.deb is seriously
broken. Downloading the source package and looking at the build scripts
might shed more light on this problem, unfortunately I'm quite busy at
the moment so I will not be able to do much testing for the next couple
of weeks. 

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Technical Details
Message-ID: <85sk8ed2v7.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!usenetcore.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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>

Show Full Headers
Complete Article Headers
Message-ID: <85sk8ed2v7.fsf@banana.shacknet.nu>
Subject: Re: nnrpd -S option invalid
Date: Fri, 05 Mar 2010 19:45:16 +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>
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!usenetcore.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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: 54
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Fri, 5 Mar 2010 18:46:23 +0000 (UTC)
Injection-Info: ray-banana.eternal-september.org;
 posting-host="hfWL7WNF1SaFU2NJLjkX3g";
 logging-data="32351"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/+9dCZSLttVP7DHbhDCrG9qCFB/+tdAFo="
User-Agent: Plonkenlights
Cancel-Lock: sha1:R7SeZ7gGTZvvlkYlQfVEVVNRXi8=
 sha1:ujpRAV35ioQ6H4Kx3ItoZ57Fieo=
X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent
 iQCVAwUBS5FRfhFgDSXFGJ/lAQGptgQAtBODaNzUpSum+QsA6JqNLosR5o5x98lZ
 6bDV9RjThAGiZSNZ7RW/N/MRQhbaQJb5X45m/etiosKnDForevQsKZTI034T8xEq
 KxJ9NIo2eI7YXeN2IDTiKO8RVlDe2BM4XFOxJSSbUJ//5rVNqUPyQgAs0BDKNgX6
 keyB6MuPEoI= =1nA2
X-Attribution: Ray Banana