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


Groups > linux.debian.user > #195966

Re: Correct: System Thinks Hardware Clock is UTC

From Patrick Bartek <nemommxiv@gmail.com>
Newsgroups linux.debian.user
Subject Re: Correct: System Thinks Hardware Clock is UTC
Date 2018-05-21 17:20 +0200
Message-ID <vRULn-2KM-1@gated-at.bofh.it> (permalink)
References <vQXLj-T9-1@gated-at.bofh.it> <vQZk5-1FO-1@gated-at.bofh.it> <vRC25-8t0-3@gated-at.bofh.it> <vRSJA-1Cm-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 21 May 2018 09:03:47 -0400 Greg Wooledge <wooledg@eeg.ccf.org>
wrote:

> On Sun, May 20, 2018 at 12:15:05PM -0700, Patrick Bartek wrote:
> > > > Haven't
> > > > installed any other OS on this system since Wheezy 5 years ago.
> 
> Oh, good, then you can simply set the hardware cl--

I did so.  And everything is fixed as far as I can tell. But had to
reboot Stretch install a couple times before it took. Although, I'm
thinking now I should just reinstall. It's still only a Base
Terminal only system so far. I've yet to flesh it out.  So, no great
loss.

> > Unfortunately, I have other OSes on this system and they are
> > configured for the hardware clock set to local time. I need to keep
> > it that way.
> 
> Um... OK.  This sudden reversal is confusing to me, but if you've got
> it dual-booting between Windows and Linux, then setting the HW clock
> to local time may be your simplest option.

Sorry for the confusion.  I guess my initial post wasn't detailed
enough.

> In past versions of Debian, this was done by editing
> the /etc/default/rcS file.  But that's not true in stretch.

I looked into that as well since I converted Stretch init to sysvinit 

> If I'm reading the man pages and the /etc/init.d/* scripts correctly
> (as you said you're using sysv-rc rather than systemd), it looks like
> the setting for HW clock to UTC or local is in the /etc/adjtime file
> now.  There's no separate man page for it.  The documentation for
> /etc/adjtime appears to be in the hwclock(8) man page, under the
> section header "The Adjtime File".

Read that, too.  And tried changing UTC to LOCAL. No effect even after a
reboot.  Later discovered that /etc/adjtime is only accessed when the
hardware clock is reset.  FWIW, if that file doesn't exist, the default
is UTC.

Thanks for your input.

B

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


Thread

Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-19 02:20 +0200
  Re: Correct: System Thinks Hardware Clock is UTC Ben Finney <bignose@debian.org> - 2018-05-19 02:40 +0200
    Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-20 21:40 +0200
  Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-19 03:00 +0200
    Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-20 21:20 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-20 21:50 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-20 22:00 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-21 01:10 +0200
  Re: Correct: System Thinks Hardware Clock is UTC David Wright <deblis@lionunicorn.co.uk> - 2018-05-19 04:00 +0200
    Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-20 21:20 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Steve McIntyre <steve@einval.com> - 2018-05-20 23:00 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-20 23:40 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-21 15:10 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-21 17:20 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Michael Stone <mstone@debian.org> - 2018-05-21 15:20 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Felix Miata <mrmazda@earthlink.net> - 2018-05-21 16:00 +0200
          Re: Correct: System Thinks Hardware Clock is UTC Michael Stone <mstone@debian.org> - 2018-05-21 16:10 +0200
            Re: Correct: System Thinks Hardware Clock is UTC Felix Miata <mrmazda@earthlink.net> - 2018-05-21 23:30 +0200

csiph-web