🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.development.system
Article #151

Re: Year 2000 and Linux

#151
From: Scott Barman
Date: Tue, 03 Mar 1998 00:00
61 lines
3284 bytes
Przemek Klosowski wrote:
> 
> The only place where you might run into trouble is because computer
> hardware clock maintains the 2-digit date, so that loading the system
> clock on bootup from the hardware clock would result in a 1900 date in
> year 2000. This is easy to fix; simply, getting years 00 to 90 from
> the
> stupid hardware clock will result in adding 2000, not 1900, to the
> year, and we are good for 90 more years. Since Linux didn't exist
> before
> 1990, it is not going to cause problems :^)

This is not as easy as it sounds. Someone associated with the ACM did
a study of "freeware" (and even many copyleft) packages and found that
there were quite a few that assumed the 20th century when using
functions
like localtime(3). This is not only a problem with Linux/Unix, but 
the Microsoft-based operating systems, too

There is a problem with Linux and ALL systems if the hardware clock
does not properly report the time correctly on reboot. In an informal
study on a 486 with a bad BIOS, the following happened:

	+ cron stopped working because it got "confused" by the bad
	  time value.
	+ NIS stopped working.
	+ The system will never sync properly with an NTP host. The
	  testers did not examine why this failed.
	+ Programs that use the time value as a signed long (which is
	  what time_t is) will not compare correctly. The testers did
	  figure out that the time was being set to the epoch (1/1/70)
	  plus the internal clock's offset.

Unfortunately, there is not a lot of "analysis" with the study.
The testers did not have the time. However, they did find that Linux was
fairly Y2K compliant, as long as the apps are Y2K compliant. Linux, like
all x86-based operating systems, have problems when the BIOS does not
accuratly report the system clock time on reboot.

Recently, a federal contractor had a problem with a Pentium-based system
whose BIOS was not Y2K compliant. It shut down the project for 3 1/2 
months before they found that the BIOS was the problem. Once they
swapped
the ROMs, the problems were solved! This system was running a version of
UNIX.

Moral: No x86-based system is Y2K compliant, regardless of the
precautions
made in software, if the BIOS is not!

Moral (2): If you are using a system manufactured prior to 1998, make
sure
you check the BIOS first! The federal contractor mentioned above was
using
a well known vendor's 150MHz Pentium-based system bought during the
summer
of 1997.

scott barman
barman@ix.netcom.com
Technical Details
Message-ID: <34FC6D03.8656B9@ix.netcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <541zwjlq6y.fsf@rrdjazz.nist.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5392,988a9a95e4afdf07
X-Google-Attributes: gidf5392,public
X-Google-Thread: 11663c,988a9a95e4afdf07
X-Google-Attributes: gid11663c,public
From: Scott Barman <barman@ix.netcom.com>
Subject: Re: Year 2000 and Linux
Date: 1998/03/03
Message-ID: <34FC6D03.8656B9@ix.netcom.com>
X-Deja-AN: 330520682
Content-Transfer-Encoding: 7bit
References: <541zwjlq6y.fsf@rrdjazz.nist.gov>
To: Przemek Klosowski <przemek@rrdjazz.nist.gov>
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
X-Corel-MessageType: EMail
Organization: Netcom
X-NETCOM-Date: Tue Mar 03 12:52:43 PM PST 1998
Mime-Version: 1.0
Newsgroups: comp.os.linux.development.system,dc.org.linux-users