Article View: news.software.nntp
Article #86828Re: inncheck results
From: Julien ÉLIE
Date: Sun, 14 Jun 2015 12:49
Date: Sun, 14 Jun 2015 12:49
50 lines
2821 bytes
2821 bytes
Hi Paul,
> defined(@array) is deprecated at /usr/lib/news/bin/inncheck line 1033.
> (Maybe you should just omit the defined()?)
FYI, it was fixed in INN 2.5.4.
> Looking at /etc/news/incoming.conf...
> # incoming.conf:0: can't open Permission denied
> Looking at /etc/news/innfeed.conf...
> # innfeed.conf:0: can't open Permission denied
> Looking at /etc/news/passwd.nntp...
> # passwd.nntp:0: can't open Permission denied
I believe these ones are a problem. The news user should have access to them.
inncheck allows read+write for the user and the group (660). Just be sure that they are not world-readable as they can contain passwords.
I personally have 640 (news/news) for these files.
On systems like Debian, they are 640 (root/news).
Maybe your news user does not belong to the news group?
> # /var/spool/news/incoming/bad:0: owned by news, should be root
> chown root /var/spool/news/incoming/bad
> # /var/spool/news/incoming/bad:0: in group news, should be root
> chgrp root /var/spool/news/incoming/bad
This suggestion is wrong. Debian installs the directory as news/news, and it should remain news/news.
From a 2.5.3-3 install:
https://buildd.debian.org/status/fetch.php?pkg=inn2&arch=amd64&ver=2.5.3-3&stamp=1365407878
drwxrwxr-x news/news 0 2013-04-08 07:57 ./var/spool/news/incoming/bad/
I think the issue is still present in the latest 2.5.4 Debian build
as debian/patches/inncheck-permissions has not changed.
--
Julien ÉLIE
« – Et fais attention de ne pas te cogner aux arbres !
– …
– Le tout, c'est de faire attention de ne pas se cogner aux
Gaulois ! » (Astérix)
Technical Details
Message-ID:
<mljt8o$6c5$1@news.trigofacile.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.(19219).mbox.7z!not-for-mailReferences:
<mli8ok$g1g$2@speranza.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <mljt8o$6c5$1@news.trigofacile.com> Subject: Re: inncheck results Date: Sun, 14 Jun 2015 14:49:27 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <mli8ok$g1g$2@speranza.aioe.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 14 Jun 2015 12:49:28 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-91-207.w83-112.abo.wanadoo.fr:83.112.146.207"; logging-data="6533"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <mli8ok$g1g$2@speranza.aioe.org> X-Received-Body-CRC: 1348195064 X-Received-Bytes: 2816