January 19, 2038 is for Linux what Y2K was for mainframe and PC computers in 2000, reports ZDNet. It’s the day that the value for time “runs out of numbers” and, in the case of 32-bit Unix-based operating systems like Linux and older versions of macOS, “starts counting time with negative numbers…”

“But the fixes are underway to make sure all goes well when that fatal time rolls around.” nickwinlund77 shared their report:

Linux developers have seen this coming for decades. So, Linux kernel developer Arnd Bergmann and others have been working on a repair. These corrections are now in the forthcoming Linux 5.6 kernel. Bergmann explained, “Linux-5.6, or my backport of the patches to 5.4, should be the first release that can serve as a base for a 32-bit system designed to run beyond year 2038.”

There are some caveats:
– All user space must be compiled with a 64-bit time_t, which will be supported in the coming musl-1.2 and glibc-2.32 releases, along with installed kernel headers from Linux-5.6 or higher.

– Applications that use the system call interfaces directly need to be ported to use the time64 syscalls added in Linux-5.1 in place of the existing system calls.
– Applications that use a private copy of kernel uapi header files or their contents may need to update to the Linux-5.6 version.
– A few remaining interfaces cannot be changed to pass a 64-bit time_t in a compatible way, so they must be configured to use CLOCK_MONOTONIC times…

After we fix this, we won’t have to worry about 64-bit Linux running out of seconds until 15:30:08 GMT Sunday, December 4, 29,227,702,659. Personally, I’m not going to worry about that one.

of this story at Slashdot.

…read more

Source:: Slashdot