Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338861

Re: [PATCH] rtc: Add an option to invalidate dates in 2038

From One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: Add an option to invalidate dates in 2038
Date 2016-02-21 18:30 +0100
Message-ID <r4FZx-Tg-39@gated-at.bofh.it> (permalink)
References <r4leq-23T-1@gated-at.bofh.it> <r4lHr-2li-7@gated-at.bofh.it> <r4mDw-2VT-5@gated-at.bofh.it> <r4o2B-4bH-13@gated-at.bofh.it> <r4oYG-523-15@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


> It doesn't change anything for 64-bit systems, I've excluded them by
> using "depends on !64BIT". Right now, it doesn't change anything for
> 32-bit systems because either way, they will fail in 2038.

Which realistically won't actually matter because in 22 years time nobody
will be able to find a 32bit system in common use. If you look at x86
platforms today a Pentium Pro is already a collectors item. All of todays
locked down half-maintained embedded and phone devices will be at best
the digital equivalent of toxic waste if connected to anything.

> Won't we have to recompile every application to support 64-bit time on
> 32-bit system anyway? That will be a good time to remove that option.

How will you know when everyone has ? There's no "autodetect which
distribution I am running" feature.

> If the distribution don't recompile to support a 64-bit time, then the
> 32-bit systems will break in 2038 anyway and they will absolutely
> require my patch or something along those lines to still boot using
> systemd.

I disagree. Systemd has a serious robustness bug. Patch systemd to handle
timerd going off early and to take appropriate recovery action.

If you fix the systemd bug you'll also deal with a load of other weird
cornercases like 32bit guests on a 64bit host that accidentally ended up
post 2038, and every other freaky rtc failure.

Alan

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-20 20:20 +0100
  Re: [PATCH] rtc: Add an option to invalidate dates in 2038 One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-02-20 20:50 +0100
    Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-20 21:50 +0100
      Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Arnd Bergmann <arnd@arndb.de> - 2016-02-20 23:20 +0100
        Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-21 00:20 +0100
          Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-21 00:50 +0100
          Re: [PATCH] rtc: Add an option to invalidate dates in 2038 One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-02-21 18:30 +0100
            Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-22 14:10 +0100
              Re: [PATCH] rtc: Add an option to invalidate dates in 2038 One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-02-22 14:50 +0100
                Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Arnd Bergmann <arnd@arndb.de> - 2016-02-22 16:50 +0100
                Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-22 17:00 +0100
                Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Arnd Bergmann <arnd@arndb.de> - 2016-02-22 17:20 +0100
                Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-22 17:50 +0100
                Re: [PATCH] rtc: Add an option to invalidate dates in 2038 "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-02-22 17:50 +0100
                Re: [PATCH] rtc: Add an option to invalidate dates in 2038 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-02-22 18:10 +0100

csiph-web