Date: Sat, 13 Jul 1996 09:46:58 -0600 From: kelly@fsl.noaa.gov To: FreeBSD-gnats-submit@freebsd.org Subject: conf/1382: FreeBSD's year 2000 problem (minor) Message-ID: <199607131546.JAA00585@rosemary.fsl.noaa.gov> Resent-Message-ID: <199607131550.IAA01023@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1382
>Category: conf
>Synopsis: FreeBSD has minor year 2000 problem in distr /etc/rc.local
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 13 08:50:01 PDT 1996
>Last-Modified:
>Originator: Sean Kelly
>Organization:
NOAA Forecast Systems Laboratory, Boulder Colorado USA
>Release: FreeBSD 2.1-STABLE i386
>Environment:
Environment not relevant.
>Description:
The sed script in /etc/rc.local that builds the host/kernel ID line
for the message of the day relies on the year not going past 1999.
When the year passes 1999, the ID line is malformed.
>How-To-Repeat:
Wait until 2000. Reboot your system. See /etc/motd.
>Fix:
Change the regular expression to match four digits instead of 199
followed by any digit. Other, more reliable expressions are possible.
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607131546.JAA00585>
