Thread View: news.software.nntp
11 messages
11 total messages
Started by paul
Mon, 15 Dec 1997 00:00
teeny 1.7.2(insync?) bug
Author: paul
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
23 lines
1381 bytes
1381 bytes
this may infect the regular distrib of 1.7.2, but i don't know - i went from 1.5.1 straight to 1.7.2.insync-1.1a: upon first startup after make update, i got the following warning: Dec 13 14:17:22 news.ncal.verio.com innd: SERVER syntax_error /usr/local/news/newsfeeds Dec 13 14:18:24 news.ncal.verio.com innd: bad_newsfeeds. Must have exactly one ME entry er, okay. well, my newsfeeds file hadn't changed one byte before and after the update. So I had another look. I've had a commented out ME line for a looong time in there, back from when some site was pumping bad articles out to the net. I removed the commented out ME line, and news started up fine. This does not strike me as a feature. -- Paul Theodoropoulos Verio Northern California Senior Unix Systems Administrator admin @ wco dot com
Re: teeny 1.7.2(insync?) bug
Author: Andrew Gierth
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
31 lines
1647 bytes
1647 bytes
>>>>> "Forrest" == Forrest J Cavalier <mibsoft@epix.net> writes: >> I removed the commented out ME line, and news started up fine. >> >> This does not strike me as a feature. Forrest> This is a bug fix. Forrest> INN has always required a ME line for proper operation. In Forrest> versions prior to 1.7, this was not checked, and INN would Forrest> merrily leak memory and free invalid pointers when the ME Forrest> line was missing. If INN did not crash for you, then you Forrest> were just lucky. A superficial reading of the code suggests that the problem is likely to be a continued comment line. e.g. #ME/badsite\ ME\ :blah blah:: This is apparently treated as one comment line. Having a \ on the end of a comment line treated as a continuation character is probably a Bad Move. -- Andrew.
Re: teeny 1.7.2(insync?) bug
Author: Forrest J. Cavalier III
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
36 lines
1838 bytes
1838 bytes
In article <87pvmyh65h.fsf@erlenstar.demon.co.uk>, andrew@erlenstar.demon.co.uk wrote... > >>>>>> "Forrest" == Forrest J Cavalier <mibsoft@epix.net> writes: > > >> I removed the commented out ME line, and news started up fine. > >> > >> This does not strike me as a feature. > > Forrest> This is a bug fix. > > Forrest> INN has always required a ME line for proper operation. In > Forrest> versions prior to 1.7, this was not checked, and INN would > Forrest> merrily leak memory and free invalid pointers when the ME > Forrest> line was missing. If INN did not crash for you, then you > Forrest> were just lucky. > >A superficial reading of the code suggests that the problem is likely >to be a continued comment line. e.g. Nah, that's always been a separate nuance of the code. I think there are even some warnings about it in various man pages or FAQs. The problem had to do with what happened when reload of the newsfeeds file occurred. The "ME" site was SITEfree'd, even though it was never initialized. See the thread in inn-workers.... http://www.mibsoftware.com/userkt/inn/dev/inn-workers/vol9708/xcd.htm Forrest
Re: teeny 1.7.2(insync?) bug
Author: Dougal Campbell
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
23 lines
1388 bytes
1388 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
> Having a \ on the end of a comment line treated as a continuation
> character is probably a Bad Move.
Yup. That one has bitten me in the past. These days, I pretty much
always make sure I have a blank line before and after any newsfeed
entries.
It does seem that the comment+continuation is a mis-feature, in
practice.
--
Dougal Campbell, Systems Manager, ADViCOM dougal@advicom.net
http://www.advicom.net/ http://advicom.net/~dougal/
See my homepage for anti-spam information!
QUOTE OF THE MOMENT:
Gnagloot, n.:
A person who leaves all his ski passes on his jacket just to
impress people.
-- Rich Hall, "Sniglets"
Re: teeny 1.7.2(insync?) bug
Author: paul
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
30 lines
1796 bytes
1796 bytes
Forrest J. Cavalier III <mibsoft@epix.net> wrote: > Would have emailed it, if there was a valid From or Reply-To.... > In article <673lno$7jb$3@news.ncal.verio.com>, > paul@lucca.brasi.sleeps.with.the.fishes.wco.com wrote... > >er, okay. well, my newsfeeds file hadn't changed one byte before and after > >the update. So I had another look. I've had a commented out ME line for a > >looong time in there, back from when some site was pumping bad articles > >out to the net. > This is a bug fix. > INN has always required a ME line for proper operation. In versions > prior to 1.7, this was not checked, and INN would merrily leak > memory and free invalid pointers when the ME line was missing. If > INN did not crash for you, then you were just lucky. > This fix is part of 1.7*, and not just specific to insync. I guess i should have been more explicit. I've had a commented out ME line *in addition to* the normal, uncommented line. Again, breaking on a commented out declaration is a bug, in my humble estimation. -- Paul Theodoropoulos Verio Northern California Senior Unix Systems Administrator admin @ wco dot com
Re: teeny 1.7.2(insync?) bug
Author: paul
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
21 lines
1168 bytes
1168 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > #ME/badsite\ > ME\ > :blah blah:: > This is apparently treated as one comment line. > Having a \ on the end of a comment line treated as a continuation > character is probably a Bad Move. Ah! that's it. so i'm happy to report i'm wrong. yes, the commented out ME line had the continuation slash on it. no bug. -- Paul Theodoropoulos Verio Northern California Senior Unix Systems Administrator admin @ wco dot com
Re: teeny 1.7.2(insync?) bug
Author: paul
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
19 lines
1311 bytes
1311 bytes
paul@lucca.brasi.sleeps.with.the.fishes.wco.com wrote: > I guess i should have been more explicit. I've had a commented out ME line > *in addition to* the normal, uncommented line. > Again, breaking on a commented out declaration is a bug, in my humble > estimation. per my other post, the problem was the continuation character on the commented out line. still seems it would be good to parse for that on a commented line, but i've seen this before elsewhere. happy to report the bug report lies between my ears. -- Paul Theodoropoulos Verio Northern California Senior Unix Systems Administrator admin @ wco dot com
Re: teeny 1.7.2(insync?) bug
Author: Forrest J. Cavalier III
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
40 lines
2117 bytes
2117 bytes
Would have emailed it, if there was a valid From or Reply-To....
In article <673lno$7jb$3@news.ncal.verio.com>,
paul@lucca.brasi.sleeps.with.the.fishes.wco.com wrote...
>
>this may infect the regular distrib of 1.7.2, but i don't know - i went
>from 1.5.1 straight to 1.7.2.insync-1.1a:
>
>upon first startup after make update, i got the following warning:
>
>Dec 13 14:17:22 news.ncal.verio.com innd: SERVER syntax_error
/usr/local/news/newsfeeds
>Dec 13 14:18:24 news.ncal.verio.com innd: bad_newsfeeds. Must have exactly one
ME entry
>
>er, okay. well, my newsfeeds file hadn't changed one byte before and after
>the update. So I had another look. I've had a commented out ME line for a
>looong time in there, back from when some site was pumping bad articles
>out to the net.
>
>I removed the commented out ME line, and news started up fine.
>
>This does not strike me as a feature.
This is a bug fix.
INN has always required a ME line for proper operation. In versions
prior to 1.7, this was not checked, and INN would merrily leak
memory and free invalid pointers when the ME line was missing. If
INN did not crash for you, then you were just lucky.
This fix is part of 1.7*, and not just specific to insync.
Forrest J. Cavalier III, Mib Software, INN customization and consulting
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages:
http://www.mibsoftware.com/userkt/forprov.htm
Commercial support for INN: http://www.mibsoftware.com/innsup.htm
Re: teeny 1.7.2(insync?) bug
Author: J. Porter Clark
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
15 lines
1101 bytes
1101 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: >Having a \ on the end of a comment line treated as a continuation >character is probably a Bad Move. I agree, having been bitten by this feature before. Is this an example of creeping tclism? 8-) -- J. Porter Clark jpc@drum.msfc.nasa.gov NASA/MSFC Flight Data Systems Branch
Re: teeny 1.7.2(insync?) bug
Author: coneill
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
34 lines
1858 bytes
1858 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: > >>>>> "Forrest" == Forrest J Cavalier <mibsoft@epix.net> writes: > > >> I removed the commented out ME line, and news started up fine. > >> > >> This does not strike me as a feature. > > Forrest> This is a bug fix. > > Forrest> INN has always required a ME line for proper operation. In > Forrest> versions prior to 1.7, this was not checked, and INN would > Forrest> merrily leak memory and free invalid pointers when the ME > Forrest> line was missing. If INN did not crash for you, then you > Forrest> were just lucky. > > A superficial reading of the code suggests that the problem is likely > to be a continued comment line. e.g. > > #ME/badsite\ > ME\ > :blah blah:: > > This is apparently treated as one comment line. > > Having a \ on the end of a comment line treated as a continuation > character is probably a Bad Move. I've been happy with this feature in the past. It allows me to comment out multi-line feeds w/one character. Given the syntax of the newsfeeds file, I think this is the right thing to do.
Re: teeny 1.7.2(insync?) bug
Author: bill davidsen
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
19 lines
1409 bytes
1409 bytes
In article <67433v$68u$1@polo.advicom.net>, Dougal Campbell <dougal@vespucci.advicom.net> wrote: | It does seem that the comment+continuation is a mis-feature, in | practice. Hopefully one which will continue, since people have been commenting out feeds with a single # on the first line for some years now. Since a blank line will prevent problems, I'm sure there are other problems to address, particularly ones which can be fixed without breaking existing config files. -- bill davidsen (davidsen@tmr.com) "The action you see on fishing programs is something like the women in _Playboy_. Not actually *fake*, but not remotely typical of the average person's experience." -me
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