[mdlug] Upgrading from Ubuntu 12.04 to 14.04 makes hardware clock stay on UTC

R Kannan rk111810 at gmail.com
Fri Jun 9 19:37:31 EDT 2017


Thanks to all who answered.

Bob, My Ubuntu version of /etc/default/rcS does not have the comment you 
have below.

I will try disabling NTP and see if that helps. Was NTP not on by 
default in Ubuntu 12.04 which I was using before?


On 06/09/2017 09:27 AM, Bob wrote:
> You need to go back to the ACPI wiki page and look at  Ubuntu 9.10 and
> later, under Sec 3
>
> On my, up to date, Debian Sid system this is what's in the
> /etc/default/rcS file.
>
> ##################################################################
> # NOTE: This file is ignored when systemd is used as init system #
>
> and as pointed out by Dr. meier, check if NTP is running.
>
> Bob Dion
>
> On 06/08/2017 07:55 PM, R Kannan wrote:
>> Hi
>>
>> I had Mythbuntu 12.04 with hardware clock set to local time and using
>> ACPI (https://www.mythtv.org/wiki/ACPI_Wakeup) to wake up the system
>> from hibernation to record programs and do other scheduled tasks. It
>> was all working OK. Note that the hardware clock update is disabled
>> (Section 3) in order for this to work.
>>
>> When I upgraded to 14.04 I found that hardware clock reverted to UTC.
>> I changed the following line in /etc/default/rcS
>>
>> UTC=yes
>>
>> to
>>
>> UTC=no
>>
>> I found that the hardware clock reverts back to UTC whenever the
>> system wakes up from hibernation on its own. It does not happen if I
>> manually bring it up. According the following link, the above is the
>> only change I need to do for Ubuntu 14.04
>>
>> https://help.ubuntu.com/community/UbuntuTime#Make_Linux_use_.27Local.27_time
>>
>>
>> Any ideas on what is resetting the hardware clock?
>>
>> Thanks for any help
>>
>>
>>
>> _______________________________________________
>> mdlug mailing list
>> mdlug at mdlug.org
>> http://mdlug.org/mailman/listinfo/mdlug
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug




More information about the mdlug mailing list