Changes

From SME Server
Jump to navigationJump to search
Line 674: Line 674:     
==== Network Time Protocol (ntpd) ====
 
==== Network Time Protocol (ntpd) ====
 +
A new db key for ntpd: SupportLargeDrift.
 +
Default value is disabled, which doesn't change the current behaviour.
 +
 +
If set to enabled, it will
 +
- add tinker panic 0 at the begening of the ntp.conf
 +
- remove the lines
 +
server 127.127.1.0 # local clock
 +
fudge 127.127.1.0 stratum 10
 +
 +
With SupportLargeDrift enabled, the guest is able to resync the clock with the
 +
configured ntp server, even after resuming from a suspended state (tested with
 +
a ~10min drift, it took about 3 or 4 minutes for the guest to resync the clock
 +
after resuming).
 +
 +
db configuration setprop ntpd SupportLargeDrift enabled
 +
 
''Usage''
 
''Usage''
 
  db configuration setprop ntpd variable value
 
  db configuration setprop ntpd variable value
 
  signal-event timeserver-update
 
  signal-event timeserver-update
 +
 
{| width="100%" border="1" cellpadding="5" cellspacing="0"
 
{| width="100%" border="1" cellpadding="5" cellspacing="0"
 
|+Affected file: /var/service/ntpd/env/MEMLIMIT
 
|+Affected file: /var/service/ntpd/env/MEMLIMIT

Navigation menu