How To Reset Time Values in Solaris Non-Global Zones to be in Sync with Global Zone

(Doc ID 2319130.1)

Last updated on OCTOBER 24, 2017

Applies to:

Solaris Operating System - Version 11.3 and later
Information in this document applies to any platform.

Goal

With Solaris 11.3 or higher you can set time values in non-global zones that are different from the value in the global zone.

More details in Creating and Using Oracle® Solaris Zones

The ability to set the time in the zone is available through the default sys_time privilege. This privilege allows a non-global zone process to set either the virtual zone time or the system time, depending on the value of the global-time property for the zone, if set. The ability to set different times in non-global zones is not independent of time changes made in the global zone. If the time is changed in the global zone, the non-global zone time is offset by the same amount.

In case the date/time has been set in non-global zones to be different to global zone, you might want to reset this modification to be in sync with the global zone without using ntp.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms