<html><head></head><body>Haven't been in this position often or for some time, but if the hw clock is set to localtime on a dualboot system then things might get strange when booting an os for the first time after dst starts/ends; one or both will probably feel responsible for adjusting the clock, and neither knows if it's already been done.<br><br>NTP should fix it eventually, but until it does TLS and kerberos may have a hard time.<br><br>John.<br><br><div class="gmail_quote">On June 28, 2022 12:15:26 PM GMT+10:00, Russell Coker via linux-aus <linux-aus@lists.linux.org.au> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre dir="auto" class="k9mail">I have a laptop that is dual boot Ubuntu 20.04 and Windows. I've configured it <br>for "RTC in local TZ" with timedatectl so it can have the same time as Windows <br>(I'm aware that I could change Windows via regedit to use UTC for the hwclock <br>but I'm trying to work out the best option for a corporate rollout).  The <br>problem is that I resume from suspend and the system immediately treats the <br>RTC as if it was in UTC thus being out by 10 hours (time zone +1000).<br><br>How does Ubuntu get the time from the RTC on resume? Any clues as to where to <br>look would be really appreciated. I've done Google searches and found nothing <br>helpful. Even if you just know which program does it that would help a lot, I <br>could read the source.<br><br>Before someone says "oh what about the time change at the start/end of DST", <br>for a laptop it's not a big deal as it will probably be in sleep mode then. As <br>timedatectl supports this feature I think it's not unreasonable to expect it <br>to work.<br><br><div class="k9mail-signature">-- <br>My Main Blog         <a href="http://etbe.coker.com.au/">http://etbe.coker.com.au/</a><br>My Documents Blog    <a href="http://doc.coker.com.au/">http://doc.coker.com.au/</a><hr>linux-aus mailing list<br>linux-aus@lists.linux.org.au<br><a href="http://lists.linux.org.au/mailman/listinfo/linux-aus">http://lists.linux.org.au/mailman/listinfo/linux-aus</a><br><br>To unsubscribe from this list, send a blank email to<br>linux-aus-unsubscribe@lists.linux.org.au<br></div></pre></blockquote></div><div style='white-space: pre-wrap'><div class='k9mail-signature'>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></div></body></html>