Advanced

Tips and tricks: What is the 2038 bug? Is my system affected? How do I fix this issue?

Posted by Scott_Ruecker on · 21 comments
Red Hat Magazine
Mail this story
Print this story

Saturday, January 19th 2008, will mark the 30 year countdown to the Y2K38 wraparound of regular 32-bit UNIX time. UNIX internal time is stored in a data structure using a long int, containing the number of seconds since 1970. On a 32-bit machine this value is sufficient to store time up to the 18th of January 2038. After this date 32-bit clocks will overflow and return false values.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Linux, Red Hat

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (21)

1 earlier comment in the full thread.

Yeah, Maybe I also can make some buks out of that bug. I will be 91 by then !!
I will be 92 then, so figure that will be the least of my worries!
I'll "only" be 58. Good enough to rake in the money!
The problem will probably be resolved by someone who hasn't even been born yet! :)
I am hoping that we have moved to 64bit computing or beyond by 2038.
During the Y2K chicken-little festival, Linus Torvalds was asked about it.

He said, there is no Y2K problem with Linux, since it uses standard Unix time, and there won't be a rollover until 2038.

The interviewer jumped on it, asking what it was, and Torvalds gave simple description. Ok, so the interviewer goes on, what are you going to do about it?

"Well, it's simple enough to change the counter from 32 bits to 64 bits, a simple thing that wouldn't even be a minor version change, which will take us to the heat death of the universe. But by 2038 hopefully we'll be using something more advanced than Linux."

Hahaha, even Torvalds can be wrong! Linux Forever! Heat death of the Universe, here we come!
In the vein of '40 amusing facts about Linus Torvalds' and Linus v. Chuck Norris... http://www.linuxscrew.com/2007/10/28/fun-chuck-norris-vs-lin...

Linus Torvalds causes the heat death of the universe, when he feels a chill.
"Don't claim to have a config option, if you don't actually have the UI to change it."

Linus said it so it must be true.
"vi" is a user interface. I use it all the time to change config options.
You scoffers! You will pay for your lack of preparedness. I'm already prepared for Y3K, and I will laugh at your starving, cold selves when you beg to enter my comfortable secure Y3K lair. I may throw you a crust or two, but that's all you'll get. haha!
I'm wondering if any COBOL programmers had the forethought to have themselves frozen to be ready for the Y10K problem...
All I know for sure is that my Slackware 11 server will still be running strong with nary a reboot. Wait, I forgot about the impending catostophic electrical grid failure in 2020. One reboot then.
I had a Debian server online from 1996 to 2003 with only three reboots. One because of upgrading the kernel, one because of moving the hardware to a new site, and one because of the grand California brown-outs.

Not bad, I think.
_Bob,

I wrote a Rexx routine that uses the CLIST edit macro in ISPF to take care of the YYYY to YYYYY expansion in the billions of COBOL programs that will still be running in the year 9999.

It even re-compiles the source after editing with a simple TSO submit of a PROC. Its in a mayonnaise jar on Funken Wagnel's back porch closely guarded by IBM watchdogs.

Now we just have to find someone to do the PL/1 portion of the script and we'll be all set for Y10K.

I'll let my descendants take care of documenting the fix fo the suits who do things usually called 'Corporate compliance'. They'll need the opportunity to charge big credits for the consulting work.
I hope they have Fiber to the Home, er Hole, in the perpetual-care section.
COBOL, PL/1, JCL, RPG...I had them all surgically removed with a labotomy when I found Perl.
Hey number6x - cool "Carnac the Magnificent" reference - but it's spelled Funk & Wagnall..
Colonel, my fiber needs are met with a daily bowl of All-Bran.
TC, I guess we don't want to talk of download speed then.

The good news is that I talked ALLTEL out of $22. in roaming fees, craigslist is great, And my tomatoes are doing well.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post