🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
5 messages
5 total messages Started by Peter Brouwer Fri, 08 Jan 1993 08:23
bug causing a corrupted .newsrc file
#3576
Author: Peter Brouwer
Date: Fri, 08 Jan 1993 08:23
14 lines
1352 bytes
X-Disclaimer: This opinion is mine alone

There is a bug in nn causing group names to be lost in the the .newsrc file.
There is a news group comp.lang.c!!. 
When a unsubscribe is done on this newsgroup the .newsrc file loses the
newsgroups beneath the comp.lang.c!! line.
I solved this by disabling the group in the GROUP file.


--
#  Peter Brouwer,                | Digital Equipment Enterprise ,              #
#  NET  : pb@idca.tds.philips.nl | Integration Industry Standard Systems,      #
#  PHONE:ext [+31] [-0]55 432992,| Dept Systems Enginering, Bld V1/B4          #
#  FAX  :ext [+31] [-0]55 432070 | P.O.Box 245,7300AE Apeldoorn,The Netherlands#
Re: bug causing a corrupted .newsrc file
#3585
Author: Michael T Pins
Date: Sat, 09 Jan 1993 02:25
20 lines
1772 bytes
pb@idca.tds.philips.nl (Peter Brouwer) writes:

>X-Disclaimer: This opinion is mine alone

>There is a bug in nn causing group names to be lost in the the .newsrc file.
>There is a news group comp.lang.c!!. 
>When a unsubscribe is done on this newsgroup the .newsrc file loses the
>newsgroups beneath the comp.lang.c!! line.
>I solved this by disabling the group in the GROUP file.

There certainly shouldn't be a newsgroup called comp.lang.c!!, as a ! is
the unsubscribe mark in every major newsreader.  There is a comp.lang.c++,
which shouldn't cause any problems.  If you do have a comp.lang.c!!, it's
bogus and should be nuked.

-- 
*****************************************************************************
* Michael Pins                |   Internet: amigapd@isca.uiowa.edu          *
* ISCA's Amiga Librarian      |         #include <std.disclaimer>           *
*****************************************************************************
Re: bug causing a corrupted .newsrc file
#3592
Author: Milt Epstein
Date: Tue, 12 Jan 1993 03:37
31 lines
2176 bytes
In <1993Jan9.022528.8181@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes:

>pb@idca.tds.philips.nl (Peter Brouwer) writes:
>
>>There is a bug in nn causing group names to be lost in the the .newsrc file.
>>There is a news group comp.lang.c!!. 
>>When a unsubscribe is done on this newsgroup the .newsrc file loses the
>>newsgroups beneath the comp.lang.c!! line.
>>I solved this by disabling the group in the GROUP file.
>
>There certainly shouldn't be a newsgroup called comp.lang.c!!, as a ! is
>the unsubscribe mark in every major newsreader.  There is a comp.lang.c++,
>which shouldn't cause any problems.  If you do have a comp.lang.c!!, it's
>bogus and should be nuked.

While this particular case may involve a bogus newsgroup, there really
is a bug here (and a particularly nasty one, if you ask me :-).  I
reported this here some time back (and got no response :-).  In my
case, the bug appeared when the same group appeared in my .newsrc
twice, first unsubscribed (i.e. with a `!'), and then subscribed (i.e.
with a `:').  When I ran nn, everything in my .newsrc after the
unsubscribed line for that group was deleted.  While it is
questionable whether the same group should appear twice in the
.newsrc, certainly there should not be massive deletions from the
.newsrc if it does happen.

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Re: bug causing a corrupted .newsrc file
#3602
Author: Michael T Pins
Date: Wed, 13 Jan 1993 01:00
37 lines
2759 bytes
epstein@cs.uiuc.edu (Milt Epstein) writes:

>In <1993Jan9.022528.8181@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes:

->pb@idca.tds.philips.nl (Peter Brouwer) writes:
->
->>There is a bug in nn causing group names to be lost in the the .newsrc file.
->>There is a news group comp.lang.c!!. 
->>When a unsubscribe is done on this newsgroup the .newsrc file loses the
->>newsgroups beneath the comp.lang.c!! line.
->>I solved this by disabling the group in the GROUP file.
->
->There certainly shouldn't be a newsgroup called comp.lang.c!!, as a ! is
->the unsubscribe mark in every major newsreader.  There is a comp.lang.c++,
->which shouldn't cause any problems.  If you do have a comp.lang.c!!, it's
->bogus and should be nuked.

>While this particular case may involve a bogus newsgroup, there really
>is a bug here (and a particularly nasty one, if you ask me :-).  I
>reported this here some time back (and got no response :-).  In my
>case, the bug appeared when the same group appeared in my .newsrc
>twice, first unsubscribed (i.e. with a `!'), and then subscribed (i.e.
>with a `:').  When I ran nn, everything in my .newsrc after the
>unsubscribed line for that group was deleted.  While it is
>questionable whether the same group should appear twice in the
>.newsrc, certainly there should not be massive deletions from the
>.newsrc if it does happen.

You're right, it shouldn't.  However, I'm unable to duplicate this problem
(my nn accepts the first occurance, ignoring the second) so finding it would
be a problem.

-- 
*****************************************************************************
* Michael Pins                |   Internet: amigapd@isca.uiowa.edu          *
* ISCA's Amiga Librarian      |         #include <std.disclaimer>           *
*****************************************************************************
Re: bug causing a corrupted .newsrc file
#3606
Author: Milt Epstein
Date: Wed, 13 Jan 1993 19:47
50 lines
3277 bytes
In <1993Jan13.010031.28953@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes:

>epstein@cs.uiuc.edu (Milt Epstein) writes:
>
>>In <1993Jan9.022528.8181@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes:
>
>->pb@idca.tds.philips.nl (Peter Brouwer) writes:
>->
>->>There is a bug in nn causing group names to be lost in the the .newsrc file.
>->>There is a news group comp.lang.c!!. 
>->>When a unsubscribe is done on this newsgroup the .newsrc file loses the
>->>newsgroups beneath the comp.lang.c!! line.
>->>I solved this by disabling the group in the GROUP file.
>->
>->There certainly shouldn't be a newsgroup called comp.lang.c!!, as a ! is
>->the unsubscribe mark in every major newsreader.  There is a comp.lang.c++,
>->which shouldn't cause any problems.  If you do have a comp.lang.c!!, it's
>->bogus and should be nuked.
>
>>While this particular case may involve a bogus newsgroup, there really
>>is a bug here (and a particularly nasty one, if you ask me :-).  I
>>reported this here some time back (and got no response :-).  In my
>>case, the bug appeared when the same group appeared in my .newsrc
>>twice, first unsubscribed (i.e. with a `!'), and then subscribed (i.e.
>>with a `:').  When I ran nn, everything in my .newsrc after the
>>unsubscribed line for that group was deleted.  While it is
>>questionable whether the same group should appear twice in the
>>.newsrc, certainly there should not be massive deletions from the
>>.newsrc if it does happen.
>
>You're right, it shouldn't.  However, I'm unable to duplicate this problem
>(my nn accepts the first occurance, ignoring the second) so finding it would
>be a problem.

After exchanging email with Michael Pins, we've clarified what's going
on.  It looks like the bug that plagued me is different from the one
that was originally reported in this thread (although there are
similarities).  The one I discovered occurs when the same group is
listed twice in the .newsrc, first unsubscribed, and then subscribed.
It appears that everything between these two listings is deleted from
the .newsrc when nn next is run and updates the .newsrc (not
everything after the first listing, as I said above).  Michael was
able to duplicate this, and he said that he would put this on his list
of things TODO (he is involved with the official maintainance of nn).

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
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