[solved] Re: systemd, timedatectl

silver.bullet at zoho.com silver.bullet at zoho.com
Thu Jul 30 13:41:40 UTC 2015


On Thu, 30 Jul 2015 04:17:24 -0700, Tom H wrote:
># timedatectl
> RTC in local TZ: no
>
># timedatectl set-local-rtc 1
>
># timedatectl
> RTC in local TZ: yes

There was something fishy on my Ubuntu 15.10 install.

[weremouse at moonstudio ~]$ sudo -i
[sudo] password for weremouse: 
root at moonstudio:~# timedatectl | grep TZ
 RTC in local TZ: yes
root at moonstudio:~# cat /etc/adjtime 
0.000000 1438115502 0.000000
1438115502
UTC
root at moonstudio:~# timedatectl set-local-rtc 1
root at moonstudio:~# cat /etc/adjtime 
0.000000 1438115502 0.000000
1438115502
UTC
root at moonstudio:~# timedatectl set-local-rtc 0
root at moonstudio:~# cat /etc/adjtime 
0.000000 1438115502 0.000000
1438115502
UTC
root at moonstudio:~# timedatectl set-local-rtc 1
root at moonstudio:~# cat /etc/adjtime 
0.000000 1438115502 0.000000
1438115502
LOCAL
root at moonstudio:~# logout
[weremouse at moonstudio ~]$

Regards,
Ralf





More information about the ubuntu-users mailing list