[ale] NTP/Chrony time zone persistence

Scott M. Jones eff at dragoncon.org
Tue Sep 13 19:57:56 EDT 2016


Are you using timedatectl?  Welcome to the systemd way of doing things...

timedatectl list-timezones
timedatectl set-timezone [TIMEZONE]

https://www.freedesktop.org/software/systemd/man/timedatectl.html

On 9/13/16 3:31 PM, Edward O. Holcroft wrote:
> Hi all,
> 
> I have a Samba server in an AD environment, so time sync with the DC is
> important for autentication. I have this working fine on many physical
> servers, but recently added a virtual CentOS 7 box on ESXi6, and cannot
> get it to stick.
> 
> First I used NTP, which works immediately when run, but has no
> persistence through reboots. Then I read that CentOS7 uses chrony, so I
> changed, but still, after reboot, the client machine is reset to UTC,
> which it gets from the ESXi host, as it should.
> 
> I tried setting the ESXi host to point to the local DC for time, but
> that made no difference to the time zone.
> 
> Any ideas on how to force time zone persistence? Other than a cron job?
> 
> ed



More information about the Ale mailing list