Document toolboxDocument toolbox

(12.04-en) Updating Timezone Information (Daylight Saving Time, DST)

Symptom

The device is showing an incorrect time of day for your location, although you have set the correct time zone.

Problem

The time zone or the regulation for Daylight Saving Time (DST) for your location has changed.

Solution

Update the time zone information files via IGEL Universal Management Suite (UMS). This is known to work for

  • IGEL Linux version 10.01.100 or newer
  • IGEL Linux version 5.04.100 or newer
  • IGEL Linux version 4.14.100 or newer
  • IGEL Linux ARM version 1.09.100 or newer.


Retrieving current time zone information files:

On Windows


On Linux

  • Update your system time zone information with these commands: sudo apt-get update sudo apt-get install tzdata
  • Find the file for your location in the system directory /usr/share/zoneinfo/, e.g. /usr/share/zoneinfo/Africa/Casablanca for Morocco.


Distributing the files from IGEL Universal Management Suite

  • Select System > New > New File from the UMS Console menu bar or go to Files in the tree structure and select New File from the context menu.
  • Select the time zone file for your location under Local File.
  • Select Undefined under Classification.
  • Specify /wfs/zoneinfo/ as the Devices file location.
  • Set the Access rights to Read and Write for the Owner, and to Read for Others.
  • Select Root as the Owner.
  • Click OK to confirm the settings.



On a device, you can verify the transfer and activation of the new time zone information files:

  • In the Local Terminal, enter grep 'timezone_config' /var/log/messages

    On IGEL Linux version 10.x, use: journalctl | grep 'timezone_config'
  • The output should look like the following:
    Feb 27 11:28:13 (none) timezone_config: loading /wfs/zoneinfo/Casablanca to /usr/share/zoneinfo/Africa/Casablanca
    Feb 27 11:28:13 (none) timezone_config: loading /wfs/zoneinfo/Casablanca to /usr/share/zoneinfo/posix/Africa/Casablanca
    Feb 27 11:28:13 (none) timezone_config: configure timezone Africa/Casablanca