Debianプロジェクトで2038年問題に対処するため64bit time_tへの移行作業が進行中

[PR]記事内のアフィリエイトリンクから収入を得る場合があります
  • URLをコピーしました!

Pexels photo 359989

Debian Experimentalプロジェクトが2038年問題を回避するため、32-bitアーキテクチャで、64-bitのtime_tを使用するためのパッケージ再構築作業を進めていることがわかりました(Phoronix)。

2038年問題は、2038年1月19日以降にUnix時刻が32bit整数に収まらなくなるという問題です。Debianの開発者は32bitアーキテクチャで動作するDebianシステムが、2038年以降も確実に動作するようにこの修正に取り組んでいます(64bitアーキテクチャは影響なし)。

64bit time_tへの移行には1,200以上のパッケージが関わっており、データ型の変更によってABIが破壊される可能性があります。DebianとUbuntuの開発者Steve Langasek氏は、これはDebianにとって過去最大のクロスアーカイブABI移行だと説明しています。

64-bit time_tへの移行計画はDebian Wikiで詳しく説明されています。

This is now less that 15 years away and plenty of system that will have problems have already been shipped. We should stop adding to the problem. Most computing, especially computing using Debian or its derivatives, is now done on 64-bit hardware where this issue does not arise. However there is quite a lot of cost-sensitive 32-bit computing still out there, and still shipping new devices (automotive, IOT, TVs, routers, plant control, building monitoring/control, cheap Android phones). Some of that hardware will probably be running Debian or its derivatives. Other binary distros are dropping 32-bit support (RedHat/Fedora have already done so, SUSE's support is unofficial), so what is left is more likely to end up in the Debian ecosystem. Most such new hardware will be running build-from-source OSes like OpenEmbedded, or Alpine, Android, or Gentoo, but the Debian-based niche is likely to remain for some years, and some stuff built with it is likely to be in use/installed for long enough to hit Jan 2038.

これはもう15年も先の話であり、問題を抱えたシステムはすでにたくさん出荷されている。問題を増やすのはやめるべきです。ほとんどのコンピューティング、特にDebianやその派生版を使ったコンピューティングは、この問題が発生しない64ビットハードウェア上で行われています。しかし、コストに敏感な32ビットコンピューティングはまだたくさんあり、新しいデバイス(自動車、IoT、テレビ、ルーター、プラント制御、建物の監視/制御、安価なAndroid携帯)を出荷しています。そのハードウェアのいくつかは、おそらくDebianかその派生版を動かしているだろう。他のバイナリディストリビューションは32ビットのサポートをやめつつあり(RedHat/Fedoraはすでにそうなっており、SUSEのサポートは非公式だ)、残されたものはDebianのエコシステムに行き着く可能性が高い。そのような新しいハードウェアのほとんどは、OpenEmbedded、Alpine、Android、GentooのようなビルドフロムソースのOSを実行することになるでしょうが、Debianベースのニッチは何年か残りそうですし、Debianで作られたものは2038年1月にヒットするほど長く使われ、インストールされそうです。

大部分のシステムは問題が発生しない64bitハードウェアで動作しているものの、コストが重視されるデバイスは32bitで動作しているものもがあり、それの対応のために移行作業が必要となるとのことです。

よかったらシェアしてね!
  • URLをコピーしました!
  • URLをコピーしました!
目次