Server timezone does not reflect DST time after restart

  • 3123450
  • 07-Sep-2006
  • 26-Apr-2012

Environment

Products:
Novell NetWare 6.5 Support Pack 5
Configuration:
Timeserv.ncf is configured to use xntpd.nlm
Timezone configured to use Daylight savings time

Situation

Symptoms:
For the 10 to 20 minutes after a server restart the server time will be set to a time with Daylight Savings Time not effective. The time taken before the server time is corrected depends on the defaults used. This will case applications which rely on this time to get the incorrect time, CRON.NLM is affected DS.NLM is not.
Change:
XNTPD.NLM loads in loadstage 3 which auto loads CLIB.NLM and TCPIP.NLM. XNTPD then tries to read the timezone rules, since they are not set at this time, it uses defaults and sets the system clock. After a timeout of 10 min plus the time difference XNTP.NLM sets, this call to reread timezone information is executed and the time is then set correctly.
The Daylight start and Stop times are only set in loadstage 5 when the autoexec.ncf is executed.

Resolution

Workaround:
Comment out XNTPD.NLM in the timeserv.ncf and load xntpd at the bottom of the autoexec.ncf of after the network configuration has been setup.