🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Tim Thompson Wed, 19 Jun 1996 00:00
Sharedactive patch makes group inaccessible
#8623
Author: Tim Thompson
Date: Wed, 19 Jun 1996 00:00
43 lines
2191 bytes
Environment:
	Sun Sparc 20 Model 512MP, 192MB RAM
	INN 1.4unoff4
	Solaris 2.5.1

I've uncovered some rather strange behavior that seems to be related to
the sharedactive patch. With it applied to the version of INN mentioned
above, I can do a LIST command and see the group talk.politics.guns:

	talk.politics.guns 0000283282 00000259717 y

Everything looks normal here. However, if I do the command 
"GROUP talk.politics.guns", I get the message "411 No such group".

If I re-compile nnrpd without the sharedactive patch applied, the GROUP
command works as it should.

The problem doesn't seem to be happening for other groups, at least none
that I can currently find. It doesn't appear to be related to the number
of articles present in the group; I'm able to access more voluminous
newsgroups without a problem.

I've looked through the FAQ, and also have followed the advice in the file
UNOFF-NOTES/sharedactive-sol2.5.notes:
	1. Increased MAX_ACTIVE_SIZE and MAX_GROUPS in group.c
	2. Definxed XSEM_UNDO to SEM_UNDO in group.c
	3. Added the following lines to /etc/system (and then re-booted):
		set shmsys:shminfo_shmmax=4000000
		set semsys:seminfo_semmnu=300

I'm pretty much stumped at this point. For the time being, I've removed
the sharedactive patch. With it in place, this group becomes inaccessible
to my users.

Any and all clues greatly appreciated.
-- 
This is an all-natural posting, containing | Tim Thompson
no artificial colorings, flavorings, or    | Netnews Service Manager/Engineer
preservatives.                             | Lucent Technologies
                                           | tgt@lucent.com

Re: Sharedactive patch makes group inaccessible
#8626
Author: Mike Pelletier
Date: Wed, 19 Jun 1996 00:00
21 lines
1380 bytes
In article <4q82rq$t49@dfw-ixnews1.ix.netcom.com>,
	Mark Hittinger <bugs@netcom.com> wrote:
>tgt@pongo.cb.att.com (Tim Thompson) writes:
>
>>	talk.politics.guns 0000283282 00000259717 y
>>Everything looks normal here. However, if I do the command 
>>"GROUP talk.politics.guns", I get the message "411 No such group".
>
>Look in your active file at the group prior to talk.politics.guns.
>See if it has an "alias" group entry  ....=blah.blah.
>
>If it does then you are using an old version of the shared active patch
>and you need to upgrade to the latest version.

What should the "alias" group entry look like, and what's the latest
version of the sharedactive patch?

	-Mike Pelletier.

Re: Sharedactive patch makes group inaccessible
#8630
Author: Mark Hittinger
Date: Wed, 19 Jun 1996 00:00
20 lines
1131 bytes
tgt@pongo.cb.att.com (Tim Thompson) writes:

>	talk.politics.guns 0000283282 00000259717 y
>Everything looks normal here. However, if I do the command 
>"GROUP talk.politics.guns", I get the message "411 No such group".

Look in your active file at the group prior to talk.politics.guns.
See if it has an "alias" group entry  ....=blah.blah.

If it does then you are using an old version of the shared active patch
and you need to upgrade to the latest version.

Regards,

Mark Hittinger
Netcom/Dallas
bugs@netcom.com

Re: Sharedactive patch makes group inaccessible
#8648
Author: Mark Hittinger
Date: Wed, 19 Jun 1996 00:00
45 lines
1785 bytes
Mike Pelletier <mikep@comshare.com> writes:
>What should the "alias" group entry look like, and what's the latest
>version of the sharedactive patch?

Here is an example alias line from the active file:

alt.corel.graphics 0000000034 0000000035 =alt.soft-sys.corel.draw
alt.cosuard 0000010864 0000010833 y

The old sharedactive patch would cause alt.cosuard to be an unknown group
as far as nnrpd was concerned.

The latest sharedactive patch should be available from the excellent unoff
ftp site   ftp://ftp.math.psu.edu/pub/INN

The patch to the patch is very small :

*** sharedactive.patch	Wed Mar  6 23:01:05 1996
--- sharedactive.patch.1	Wed Mar 27 09:53:15 1996
***************
*** 374,380 ****
  + 
  + 	gp->Flag = *p;
  + 	gp->Alias = gp->Flag == NF_FLAG_ALIAS ? p + 1 : NULL;
! + 	p++; p++;
  +     }
  + 
  +     GRPhash();
--- 374,380 ----
  + 
  + 	gp->Flag = *p;
  + 	gp->Alias = gp->Flag == NF_FLAG_ALIAS ? p + 1 : NULL;
! + 	while (*p++ != '\0');
  +     }
  + 
  +     GRPhash();

Have fun!

Mark Hittinger
Netcom/Dallas
bugs@netcom.com

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