Setting the Linux Kernel Time Zone
The Linux kernel contains an internal time structure that may or may not contain time zone information. On system configurations that do not contain time zone information, CTE-LDT stores and displays timestamps for rekey beginning and ending in UTC (Coordinated Universal Time) rather than the system's local time zone. If this occurs, the administrator can set the kernel's internal time zone to the local time zone if they desire timestamps in their local time zone.
To set the Linux Kernel time zone information, at boot time type:
hwclock --systz
The command sets the kernel's time zone to the local time zone and resets the System Time based on the current time zone.
Note
On systems that do not set the time zone by default, existing timestamps for completed rekeys remain in UTC, even if you run hwclock --systz
. Only timestamps for new rekeys display the local time zone.