🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73701

Re: Canceling c.cancel

#73701
From: Jeffrey M. Vinocur
Date: Mon, 12 Jun 2006 20:40
80 lines
3962 bytes
In article <_Vfjg.173401$Fs1.135369@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>Russ Allbery wrote:
>
>>If you look with ps, is innd running with the -C flag?  
>
>news     12537  0.0  3.2  7916 4160 ?        Ss   09:10   0:00 
>/usr/lib/news/bin/innd -p 3 -C
>
>But why is it still canceling?

That's very strange, and I don't have an explanation.


>I need a method to cancel myself (er, cancel *messages* by myself <g>), 
>so I left the slave server running normally. However if -C really worked 
>on the main server, then it wouldn't cancel propagated cancel messages 
>from the slave anyway.

Correct.


>I hope ctlinnd cancel <Message-ID> would still work (if the -C option 
>starts working) so that I will have some method to cancel an article 
>should the need arise.

Yes, you can still cancel messages through ctlinnd.


>What I was implying was with innd already running, what would happen if 
>I entered innd -C (thinking it would add on the -C if it wasn't read 
>from innd.conf).

Nope.  I don't know any program that works in this way.


>But the ps aux shows it was -- at least -- the option 
>part of the command which started the process.
>
>But it doesn't show if it really is running -- only part of the command.

I don't understand these comments.


>If innd failed to act upon it, which it seems to have failed because 
>cancels are still happening, then it is something internal to innd. I 
>know of no other way to test it than cancel an article, and then look 
>and see if it didn't cancel the article.

I agree...ho hum.  Not quite sure how to debug this.  I mean, I
just took a look at the code, and it's extremely unambiguous.  I
don't see any way that a cancel message could be processed when
-C has been given.

(Are you running Cleanfeed?  If so, that might be a way to dodge
the issue entirely.)


>>No, you have to stop and restart innd with the full set of correct
>>options.
>
>I take this to mean innd cannot have an option changed (added or 
>toggled) while it is running. It only receives options when starting up, 
>either from the terminal or from inn.conf.

Right...

I mean, INN is very configurable, and most of its options can be
changed while it is running.  However, the commandline options,
and the contents of inn.conf, are deemed to be things that no one
would want to change / would be difficult or meaningless to
change while INN is running.  Probably a lot of the restrictions
could be lifted, but it would be a lot of effort for small gains,
and we're not exactly overflowing with spare programmer cycles
for the INN project.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <e6kjfh$kgk$1@puck.litech.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
References: <sIFig.162909$Fs1.92381@bgtnsc05-news.ops.worldnet.att.net> <agfjg.18942$mF2.12329@bgtnsc04-news.ops.worldnet.att.net> <87pshe4dz1.fsf@windlord.stanford.edu> <_Vfjg.173401$Fs1.135369@bgtnsc05-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <e6kjfh$kgk$1@puck.litech.org>
Subject: Re: Canceling c.cancel
Date: Mon, 12 Jun 2006 20:40:17 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <sIFig.162909$Fs1.92381@bgtnsc05-news.ops.worldnet.att.net> <agfjg.18942$mF2.12329@bgtnsc04-news.ops.worldnet.att.net> <87pshe4dz1.fsf@windlord.stanford.edu> <_Vfjg.173401$Fs1.135369@bgtnsc05-news.ops.worldnet.att.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 80
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1150144817 21012 66.218.0.75 (12 Jun 2006 20:40:17
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 12 Jun 2006 20:40:17 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)