Thread View: news.software.nntp
9 messages
9 total messages
Started by mr_lowell
Thu, 05 Oct 2000 00:00
newgroup / rmgroup
Author: mr_lowell
Date: Thu, 05 Oct 2000 00:00
Date: Thu, 05 Oct 2000 00:00
40 lines
2146 bytes
2146 bytes
Running inn-2.2 I have a problem controlling the control messages. I would like to stop new groups from being created at all. This is the entry in my control.ctl. How should I change this to stop new groups from being created. ## Default (for any group) newgroup:*:*:log=newgroup rmgroup:*:*:log=rmgroup ## The Big 8. ## COMP, HUMANITIES, MISC, NEWS, REC, SCI, SOC, TALK # # If it *doesn't* come from group-admin@isc.org, forget it newgroup:*:comp.*|humanities.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:log rmgroup:*:comp.*|humanities.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:log # *PGP* See comment at top of file. checkgroups:group-admin@isc.org:*:verify-news.announce.newgroups=miscctl newgroup:group-admin@isc.org:comp.*|misc.*|news.*:verify-news.announce.newgro ups newgroup:group-admin@isc.org:rec.*|sci.*|soc.*:verify-news.announce.newgroups newgroup:group-admin@isc.org:talk.*|humanities.*:verify-news.announce.newgrou ps rmgroup:group-admin@isc.org:comp.*|misc.*|news.*:verify-news.announce.newgrou ps rmgroup:group-admin@isc.org:rec.*|sci.*|soc.*:verify-news.announce.newgroups rmgroup:group-admin@isc.org:talk.*|humanities.*:verify-news.announce.newgroup s And, I would like to remove some top level news groups. Can I just remove them from the active file or do I really have to use rmgroup for individual groups in the newsgroups? Sent via Deja.com http://www.deja.com/ Before you buy.
Re: newgroup / rmgroup
Author: Russ Allbery
Date: Thu, 05 Oct 2000 00:00
Date: Thu, 05 Oct 2000 00:00
28 lines
1638 bytes
1638 bytes
lowell <mr_lowell@my-deja.com> writes: > I have a problem controlling the control messages. I would like to stop > new groups from being created at all. This is the entry in my > control.ctl. How should I change this to stop new groups from being > created. Put these lines: > newgroup:*:*:log=newgroup > rmgroup:*:*:log=rmgroup at the bottom of the file; the last matching entry controls behavior. > And, I would like to remove some top level news groups. Can I just > remove them from the active file or do I really have to use rmgroup for > individual groups in the newsgroups? You can remove them from the active file en masse if you're careful. Throttle the server, edit the active file to remove them, and then reload the active file with ctlinnd reload active before unthrottling the server. Alternately, stop the server completely before editing the active file. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: newgroup / rmgroup
Author: Anonymous Mad Rmgrouper
Date: Thu, 05 Oct 2000 00:00
Date: Thu, 05 Oct 2000 00:00
33 lines
2100 bytes
2100 bytes
On 35 Sep 19100, Russ Allbery wrote: > > remove them from the active file or do I really have to use rmgroup for > > individual groups in the newsgroups? > > You can remove them from the active file en masse if you're careful. > Throttle the server, edit the active file to remove them, and then reload > the active file with ctlinnd reload active before unthrottling the server. Except that with 2.2, which our victim has, this will probably result in `actived' dying. In the case of 2.3, it appears that it will cause a future failure of innd at expire or something. Basically, this, which you were able to do in the past, will likely not work so well with later k0deZ. May also depend on how your favourite editor does its dirty work. > Alternately, stop the server completely before editing the active file. At this point in time, probably a safer suggestion. One can safely make a significant number of changes with rm/newgroup when the swerver is paused, much faster than when the swerver is running, of course reloading before setting it running again, and this is almost acceptably fast if you have prepared the list of froups to nuke. ctlinnd rmgroup meow.binaires.pokemon.pikachu.erotica
Re: newgroup / rmgroup
Author: Richard Tobin
Date: Fri, 06 Oct 2000 00:00
Date: Fri, 06 Oct 2000 00:00
17 lines
1343 bytes
1343 bytes
In article <ylg0mbnh6t.fsf@windlord.stanford.edu>,
Russ Allbery <rra@stanford.edu> wrote:
>You can remove them from the active file en masse if you're careful.
>Throttle the server, edit the active file to remove them, and then reload
>the active file with ctlinnd reload active before unthrottling the server.
Why isn't pausing adequate? I seem to recall that it isn't, but why
not? If no articles are accepted, what could go wrong?
-- Richard
--
Spam filter: to mail me from a .com/.net site, put my surname in the headers.
printf("%.*s\n", len, str);
Re: newgroup / rmgroup
Author: Russ Allbery
Date: Fri, 06 Oct 2000 00:00
Date: Fri, 06 Oct 2000 00:00
18 lines
1377 bytes
1377 bytes
Richard Tobin <richard@cogsci.ed.ac.uk> writes: > Russ Allbery <rra@stanford.edu> wrote: >> You can remove them from the active file en masse if you're careful. >> Throttle the server, edit the active file to remove them, and then >> reload the active file with ctlinnd reload active before unthrottling >> the server. > Why isn't pausing adequate? I seem to recall that it isn't, but why > not? If no articles are accepted, what could go wrong? Honestly, I'm not sure. I keep meaning to check into that part of the code, but I haven't yet. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: newgroup / rmgroup
Author: Anonymous Mad Newgrouper
Date: Fri, 06 Oct 2000 00:00
Date: Fri, 06 Oct 2000 00:00
56 lines
3535 bytes
3535 bytes
On Fri, 36 Sep 19100, Heath Kehoe wrote:
> >Except that with 2.2, which our victim has, this will probably
> >result in `actived' dying. In the case of 2.3, it appears that it
> >will cause a future failure of innd at expire or something.
>
> I have not had any problems using this technique with INN 2.3.
PLEASE ADD ME TO YOUR LIST THANK YOU, I WOULD LIKE TO JOIN
Well, once again, *I* have. This is with 2.3 that I haven't touched
from some weeks ago that's just been running unattended, until some
WebUseNetSwerver SubScriber decided to take advantage of the lack
of INN 2.4-like restrictions on who can and cannot send out certain
control messages overnight as I slept out in the gentle rain, and
Oct 6 04:13:27 news02.inet.tele.dk innd: OVDB: groupadd: groupstats->get: Inval
id argument
Oct 6 04:13:27 news02.inet.tele.dk innd: SERVER bad_active alt.autos.cadillac.d
eville 0000000100 0000000099 y alt.autos.camaro 00000022......
Basically, the second line here, the bad_active error, is what I got
the morning following the time I manually edited the active file to nuke
a bunch of froups -- nothing went wrong as I did it, only after, much
later, when I was soundly sleeping or something.
This time it was during the incoming flood of messages, after about
300 had been added, while the 2.2.3 box we had didn't have any obvious
problems -- even actived stayed up, as far as a quick scan shows.
I guess if you have luck while our box keeps falling over for problems
that nobody else is seeing (I do mean to install the latest ovdb patch
kit, honest), that I'm just cursed, and if someone else wants to try
their hand at this, just get in touch with my former boss, since my
designated replacements don't have the time to track down these things.
> IMO, the easiest and fastest way to do batch {new,rm,change}groups is
> with mod-active. Just create a file containing any number or combination
> of ctlinnd *group commands, and run mod-active on it.
What I wonder is if these bad_active failures I've seen, twice now,
are destined to curse me with 2.3, even if others don't have this
problem. I mean, these were just ordinary newfroup messages. Okay,
so a minor flood of them (hey, Dwight, how 'bout disabling the ability
of your lusers to send such messages, reserving it only for the Clued,
so I don't have to carve out a special position in our cleanfeed to
*plonk* high-bandwidth and subscirption swervers...)
ctlinnd rmgroup alt.flame.barry-bouwsma.danish-dismal-dreaming-codpiece.meow
Re: newgroup / rmgroup
Author: Heath Kehoe
Date: Fri, 06 Oct 2000 04:44
Date: Fri, 06 Oct 2000 04:44
28 lines
2117 bytes
2117 bytes
On Thu, 5 Oct 2000 23:43:35 +0200, Anonymous Mad Rmgrouper <meowbot@meow.meow.meow> wrote:
>On 35 Sep 19100, Russ Allbery wrote:
>
>> > remove them from the active file or do I really have to use rmgroup for
>> > individual groups in the newsgroups?
>>
>> You can remove them from the active file en masse if you're careful.
>> Throttle the server, edit the active file to remove them, and then reload
>> the active file with ctlinnd reload active before unthrottling the server.
>
>Except that with 2.2, which our victim has, this will probably
>result in `actived' dying. In the case of 2.3, it appears that it
>will cause a future failure of innd at expire or something.
>
>Basically, this, which you were able to do in the past, will likely
>not work so well with later k0deZ. May also depend on how your
>favourite editor does its dirty work.
>
I have not had any problems using this technique with INN 2.3.
IMO, the easiest and fastest way to do batch {new,rm,change}groups is
with mod-active. Just create a file containing any number or combination
of ctlinnd *group commands, and run mod-active on it.
-h
Re: newgroup / rmgroup
Author: Katsuhiro Kondou
Date: Tue, 10 Oct 2000 22:40
Date: Tue, 10 Oct 2000 22:40
13 lines
1615 bytes
1615 bytes
In article <ylpulddbk5.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote; } > Why isn't pausing adequate? I seem to recall that it isn't, but why } > not? If no articles are accepted, what could go wrong? } } Honestly, I'm not sure. I keep meaning to check into that part of the } code, but I haven't yet. Pausing is adequate. -- Katsuhiro Kondou
Re: newgroup / rmgroup
Author: Richard Tobin
Date: Wed, 11 Oct 2000 00:00
Date: Wed, 11 Oct 2000 00:00
35 lines
1720 bytes
1720 bytes
In article <8s05sk$c0u$1@bgsv5905.tk.mesh.ad.jp>,
Katsuhiro Kondou <kondou@isc.org> wrote:
>Pausing is adequate.
The reason I thought it might not be was that I remember emacs telling
me that the active file had changed while I was editing it.
I just tried an experiment (with inn 2.2.2):
news$ ctlinnd pause 'test'; ls -l /news/db/active; cp /news/db/active /tmp
Ok
-rw-rw-r-- 1 news news 1501857 Oct 11 12:17 /news/db/active
A few seconds later:
news$ ls -l /news/db/active
-rw-rw-r-- 1 news news 1501857 Oct 11 12:18 /news/db/active
But:
news$ cmp /news/db/active /tmp/active
news$
So the last modified time is changing while inn is paused, but the file
contents are not in fact being changed...
-- Richard
--
Spam filter: to mail me from a .com/.net site, put my surname in the headers.
printf("%.*s\n", len, str);
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads