[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] groups always listed as new



Nick Drage wrote:

> On Sun, 2 Jan 2000, Cornelius Krasel wrote:
> > Nick Drage <nick-drage@xxxxxx> wrote:
> > > I think that I was worried about fetchnews behaviour in 1.9.7, anyway I've
> > > upgraded now and the problem is still the same, all groups are reported as
> > > new, though also as before if I "telnet localhost 119" and "newgroups" I
> > > don't get any back.
> > 
> > There are two possibilities:
> > 
> > a) The clock in your computer is going wrong (no kidding).
> 
> Ah.  I've checked this, my BIOS thinks it's 1994 on boot up, but I always
> change the clock to the current time and date straight after I first log
> in ( used to have to do this anyway last millennium, dead battery ).

If you manually set the time as root with "date", you should be fine, IMNSHO.
Leafnode does not query the hardware clock but uses time() to get the
time of day. There have been no changes in this routine since I don't know
when.

There may be another possibility which I didn't think of: your libc may
contain a Y2K bug. In that case, it would be interesting to see the
output of the following little program (compile with "cc -o test test.c"
and invoke with "./test"):

#include <stdio.h>
#include <time.h>

int main() {
    time_t current;

    current = time(NULL);
    printf("%s", ctime(&current));
    return 0;
}

This should give you the current date and time.

> hostname:/var/spool/news/leaf.node# head groupinfo
> 3dfx.d3d.drivers 0 1 0 -x-
> 3dfx.events 0 1 0 -x-
> 3dfx.game.titles 0 1 0 -x-
> 3dfx.games.discussion 0 1 0 -x-
> 3dfx.games.glquake 0 1 0 -x-
> 3dfx.glide 0 1 0 -x-
> 3dfx.oem.products.canopus 0 1 0 -x-
> 3dfx.oem.products.canopus.pure3d 0 1 0 -x-
> 3dfx.oem.products.diamond.monster3d 0 1 0 -x-
> 3dfx.oem.products.hercules.stingray128-3d 0 1 0 -x-
> 
> So this is OK?

This looks good, yes.

It may also be interesting to get a debuglog of a newsreader invocation;
maybe your newsreader is not working properly. (The debuglog will show
how the newsreader invokes the "NEWGROUPS" command.)

--Cornelius.

-- 
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list