NTP Servers not saving properly as appointed in the GUI

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
stuartbh
Posts: 76
Joined: Sun Oct 20, 2019 4:18 pm

NTP Servers not saving properly as appointed in the GUI

Post by stuartbh »

I recently tried updating the list of NTP servers that Gargoyle uses to a different set of servers. Oddly, in succession to my placing them in the order I desired them to be, Gargoyle upon saving my updates reversed the order!?!

What I entered (in the exact order) in the GUI:

time.nist.gov
time.apple.com
0.pool.ntp.org

What I saw in the /etc/config/system file after saving:

list server '0.pool.ntp.org'
list server 'time.apple.com'
list server 'time.nist.gov'

I then logged out of the router's GUI, cleared the browser's cache, logged back in and went to the NTP page and saw this as the order (which makes sense given the wrong /etc/config/system file's entries being in reverse order too):

0.pool.ntp.org
time.apple.com
time.nist.gov

This I think is a bug!
Very Respectfully,

Stuart, N3GWG
Computer Scientist

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: NTP Servers not saving properly as appointed in the GUI

Post by Lantis »

ntpd does not care about the order of servers, so in this case, a harmless bug.

I have corrected the underlying issue regardless.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

stuartbh
Posts: 76
Joined: Sun Oct 20, 2019 4:18 pm

Re: NTP Servers not saving properly as appointed in the GUI

Post by stuartbh »

Lantis wrote:ntpd does not care about the order of servers, so in this case, a harmless bug.

I have corrected the underlying issue regardless.
Well, I am glad to hear it is getting corrected (if for no other reason to avoid confusing people unnecessarily). However, I do know that ntpd does (or at least used to, the last time I checked) try to find the best server to use based on measurements it took of all servers supplied. I presume by your comments that is still the case.
Very Respectfully,

Stuart, N3GWG
Computer Scientist

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: NTP Servers not saving properly as appointed in the GUI

Post by Lantis »

That is correct
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply