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


Groups > linux.debian.user > #256341

Re: differences between hwclock <-> date due to time zone issues? ...

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: differences between hwclock <-> date due to time zone issues? ...
Date 2023-03-24 23:10 +0100
Message-ID <GcXLH-eQXT-5@gated-at.bofh.it> (permalink)
References <GcAYN-eBEG-1@gated-at.bofh.it> <GcQTT-eMAm-3@gated-at.bofh.it> <GcTf3-eOau-3@gated-at.bofh.it> <GcXsm-eQCt-5@gated-at.bofh.it> <GcXC1-eQFu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Mar 24, 2023 at 05:51:30PM -0400, Stefan Monnier wrote:
> > If your policy choice ends up being "set HW clock to local", then you
> > also have to make sure the correct time zone is set on each operating
> > system, each time it boots.  I have no idea how one does that on Debian
> > Live, since I've never used Debian Live.  So, I can hope for your sake
> > that Debian Live uses a UTC HW clock.
> 
> You may also circumvent the problem by making sure your "online" OS is
> configured to set its time via NTP once it gets access to the Internet,
> this way, any problem with the hwclock will only impact the "boot".

That works great for the Live OS, but not for the fixed-disk OS.  If
the Live OS sets the HW clock to local upon shutdown, but the fixed-disk
OS expects the HW clock to be UTC, then the fixed-disk OS is wrong
every time it boots after the Live OS.

... unless the Live OS can be configured to shut down WITHOUT touching
the HW clock at all.  (Can Debian Live be configured that way?  I have
no idea.)

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


Thread

differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-23 22:50 +0100
  Re: differences between hwclock <-> date due to time zone issues? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-23 23:10 +0100
  Re: differences between hwclock <-> date due to time zone issues? ... Cindy Sue Causey <butterflybytes@gmail.com> - 2023-03-23 23:10 +0100
    Re: differences between hwclock <-> date due to time zone issues? ... Cindy Sue Causey <butterflybytes@gmail.com> - 2023-03-23 23:30 +0100
  Re: differences between hwclock <-> date due to time zone issues? ... David Wright <deblis@lionunicorn.co.uk> - 2023-03-23 23:50 +0100
  Re: differences between hwclock <-> date due to time zone issues? ... Andy Smith <andy@strugglers.net> - 2023-03-24 15:50 +0100
    Re: differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-24 18:20 +0100
      Re: differences between hwclock <-> date due to time zone issues? ... Greg Wooledge <greg@wooledge.org> - 2023-03-24 22:50 +0100
        Re: differences between hwclock <-> date due to time zone issues? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-24 23:00 +0100
          Re: differences between hwclock <-> date due to time zone issues? ... Greg Wooledge <greg@wooledge.org> - 2023-03-24 23:10 +0100
            Re: differences between hwclock <-> date due to time zone issues? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-25 00:20 +0100
              Re: differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-25 01:10 +0100
                Re: differences between hwclock <-> date due to time zone issues? ... Max Nikulin <manikulin@gmail.com> - 2023-03-25 04:20 +0100
                Re: differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-25 04:50 +0100
                Re: differences between hwclock <-> date due to time zone issues? ... Max Nikulin <manikulin@gmail.com> - 2023-03-25 06:00 +0100
                Re: differences between hwclock <-> date due to time zone issues? ... Max Nikulin <manikulin@gmail.com> - 2023-03-25 09:00 +0100
              Re: differences between hwclock <-> date due to time zone issues? ... David Wright <deblis@lionunicorn.co.uk> - 2023-03-25 05:30 +0100
      Re: differences between hwclock <-> date due to time zone issues? ... David Wright <deblis@lionunicorn.co.uk> - 2023-03-25 05:30 +0100
        Re: differences between hwclock <-> date due to time zone issues? ... Felix Miata <mrmazda@earthlink.net> - 2023-03-25 05:50 +0100

csiph-web