Re: Boot time in wtmp is not correct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




> On 12.10.2021, at 17:41, Hooton, Gerard <g.hooton@xxxxxx> wrote:
> 
> When I do who -b; uptime I get
> 
> system boot  2021-10-12 17:05
> 16:36:09 up 30 min,  1 user,  load average: 0.00, 0.00, 0.00
> 
> As you can see the boot time reported by the last command is ahead.
> I have noted it is  one hour ahead after a reboot.
> 
> I have checked the system time in the BIOS  before booting Linux and it is correct.

What do you mean with “correct”? UTC or localtime?

For me timedatectl gives me

```
$ timedatectl
…
RTC in local TZ: no
…
```

Which means that RTC/BIOS clock is in UTC, so when booting the timezone offset
is added. I heard that dual boot with Windows makes 
problems because Windows is setting RTC always with local time. In
that case try "RTC in local TZ: yes"

Do you dualboot? What is timedatectl telling you?

Best Regards, Markus
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux