My understanding is that in this config type, ntpd runs as server only, and will sync itself to the local clock driver. So, if I am not missing something,
the daemon should not try to adjust the local clock that it is synchronizing to.
allows direct setting of the time
When ntpd is running with the following simple config:
restrict 127.0.0.1
server 127.127.1.0
is it expected that ntpd keeps calling adjtime()?
My understanding is that in this config type, ntpd runs as server only, and will sync itself to the local clock driver. So, if I am not missing something,
the daemon should not try to adjust the local clock that it is synchronizing to.
Is this a specific behavior with VxWorks (where I am testing ntpd with), or common to all systems?I believe it will be common to all systems.
0x01d67ad0 ntpdmain +0x6c0: timer ()Side note - in general, we recommend against using the LOCAL refclock.
0x01d85968 timer +0x58 : 0x01d7156c ()
0x01d71698 adj_host_clock+0x164: adj_systime ()
0x0092eca0 adj_systime +0x254: adjtime ()
Thanks
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,089 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 153:51:23 |
| Calls: | 13,921 |
| Calls today: | 2 |
| Files: | 187,021 |
| D/L today: |
3,755 files (944M bytes) |
| Messages: | 2,457,163 |