🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86221

Re: ctlinnd: no innd.pid file; did server die?

#86221
From: John F. Morse
Date: Mon, 05 May 2014 19:00
89 lines
4932 bytes
On 05/05/2014 12:52 PM, jdd wrote:
> Le 05/05/2014 19:39, Julien ÉLIE a écrit :
>> Hi jdd,
>>
>>>> It is not an error in the doc.  Both "-pedantic" and "--pedantic"
>>>> work.  Same
>>>> thing for "-perm" and "--perm".
>>>
>>> not on my install, -- gives an error (option unknown)
>>
>> When running "inncheck --test" (an unknown option), do you see something like
>> the lines below, mentioning "--pedantic" with two dashes?
>
> only one dash:
>
> news@s-r:~> bin/inncheck --test
> defined(@array) is deprecated at bin/inncheck line 625.
>         (Maybe you should just omit the defined()?)
> Usage error: Unknown flag `--test'.
> Usage:
>         inncheck [-v] [-noperm] [-pedantic] [-perms [-fix] ] [-a|file...]
> File to check may be followed by "=path" to use the specified path.  All
> files are checked if -a is used or if -perms is not used.  Files that may
> be checked are:
>      active                   control.ctl              control.ctl.local
>      expire.ctl               incoming.conf            inn.conf
>      moderators               newsfeeds                nntpsend.ctl
>      passwd.nntp              readers.conf
>
>
> inn 2.5.2-21.1.2 openSUSE
>
> jdd
>


Quite different than what I see for INN 2.5.3-3 using Debian 7.4 Wheezy
3.2.54-2 x86_64 GNU/Linux (kernel is not up-to-date):


john@r102:/var/spool/news$ apt-cache policy linux-image-3.2.0-4-amd64
linux-image-3.2.0-4-amd64:
  Installed: 3.2.54-2
  Candidate: 3.2.57-3
  Version table:
     3.2.57-3 0
        500 http://debian.mirrors.tds.net/debian/ wheezy/main amd64 Packages
 *** 3.2.54-2 0
        100 /var/lib/dpkg/status
     3.2.46-1+deb7u1 0
        500 http://security.debian.org/ wheezy/updates/main amd64 Packages


This difference includes the use of "flag" for "option," and two additional
checks (innfeed.conf and storage.conf):


news@r102:~$ inncheck --test
Unknown option: test
Usage error: Unknown option.
Usage:
    inncheck [-afqv] [--noperm|perm] [--pedantic] [file | file=value...]
File to check may be followed by "=path" to use the specified path.  All
files are checked if -a is used or if --perm is not used.  Files that may
be checked are:
     active                   control.ctl              control.ctl.local  
     expire.ctl               incoming.conf            inn.conf           
     innfeed.conf             moderators               newsfeeds          
     nntpsend.ctl             passwd.nntp              readers.conf       
     storage.conf       
news@r102:~$


Likely the good intentions of the OpenSUSE maintainer, and/or the Debian
maintainer?

However, I've always used the single hyphen, and a double hyphen also works.

Here is another manual page example:

http://linux.die.net/man/8/inncheck


-- 
John

When a person has -- whether they knew it or not -- already
rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <lk8n53$b53$1@n102.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.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ottix-news.ottix.net!news.litech.org!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
References: <53612326$0$2912$426a34cc@news.free.fr> <5361f8a8$0$2179$426a74cc@news.free.fr> <ljte2l$rgu$1@news.trigofacile.com> <536258af$0$2046$426a74cc@news.free.fr> <lk1j59$gv8$1@puck.litech.org> <53649715$0$2002$426a74cc@news.free.fr> <m238gre1ch.fsf@banana.shacknet.nu> <5364b9bc$0$3624$426a74cc@news.free.fr> <m2y4yjce4x.fsf@banana.shacknet.nu> <53652082$0$2178$426a74cc@news.free.fr> <m2tx96dazr.fsf@banana.shacknet.nu> <53653acf$0$1980$426a74cc@news.free.fr> <m2ppjud6qo.fsf@banana.shacknet.nu> <53655e2e$0$2060$426a74cc@news.free.fr> <m2lhuicbv0.fsf@banana.shacknet.nu> <53663336$0$2078$426a74cc@news.free.fr> <lk60ru$4h0$1@news.trigofacile.com> <5366ab01$0$2001$426a74cc@news.free.fr> <lk8idc$rq6$1@news.trigofacile.com> <5367cfd9$0$3649$426a34cc@news.free.fr>

Show Full Headers
Complete Article Headers
Message-ID: <lk8n53$b53$1@n102.xanadu-bbs.net>
Subject: Re: ctlinnd: no innd.pid file; did server die?
Date: Mon, 05 May 2014 14:00:51 -0500
From: "John F. Morse" <john@example.invalid>
References: <53612326$0$2912$426a34cc@news.free.fr> <5361f8a8$0$2179$426a74cc@news.free.fr> <ljte2l$rgu$1@news.trigofacile.com> <536258af$0$2046$426a74cc@news.free.fr> <lk1j59$gv8$1@puck.litech.org> <53649715$0$2002$426a74cc@news.free.fr> <m238gre1ch.fsf@banana.shacknet.nu> <5364b9bc$0$3624$426a74cc@news.free.fr> <m2y4yjce4x.fsf@banana.shacknet.nu> <53652082$0$2178$426a74cc@news.free.fr> <m2tx96dazr.fsf@banana.shacknet.nu> <53653acf$0$1980$426a74cc@news.free.fr> <m2ppjud6qo.fsf@banana.shacknet.nu> <53655e2e$0$2060$426a74cc@news.free.fr> <m2lhuicbv0.fsf@banana.shacknet.nu> <53663336$0$2078$426a74cc@news.free.fr> <lk60ru$4h0$1@news.trigofacile.com> <5366ab01$0$2001$426a74cc@news.free.fr> <lk8idc$rq6$1@news.trigofacile.com> <5367cfd9$0$3649$426a34cc@news.free.fr>
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.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ottix-news.ottix.net!news.litech.org!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 89
Reply-To: dont.bother
NNTP-Posting-Host: z1PbaSFi7ytHMEPlr2aTHg
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Mon, 5 May 2014 19:00:51 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
In-Reply-To: <5367cfd9$0$3649$426a34cc@news.free.fr>
X-Enigmail-Version: 1.6
X-Original-Bytes: 4716