Page MenuHomeVyOS Platform

ntp.conf updated incorrectly
Closed, ResolvedPublicBUG

Description

I add the follow ntp servers and when I look at ntp.conf it changes - to _.

Configuration.

set system ntp server time-a.nist.gov prefer
set system ntp server time-a.timefreq.bldrdoc.gov
set system ntp server time-b.nist.gov prefer
set system ntp server time-b.timefreq.bldrdoc.gov
set system ntp server time-c.nist.gov prefer
set system ntp server time-c.timefreq.bldrdoc.gov

ntp.conf

server time_a.nist.gov iburst prefer
server time_a.timefreq.bldrdoc.gov iburst
server time_b.nist.gov iburst prefer
server time_b.timefreq.bldrdoc.gov iburst
server time_c.nist.gov iburst prefer
server time_c.timefreq.bldrdoc.gov iburst

Thanks in advance.

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202007200117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to Confirmed.Jul 21 2020, 9:21 AM
Viacheslav claimed this task.

PR https://github.com/vyos/vyos-1x/pull/511
It replaces "_" to "-" for NTP server names configuration.

ntp.conf

server time-a.nist.gov iburst prefer 
server time-a.timefreq.bldrdoc.gov iburst 
server time-b.nist.gov iburst prefer 
server time-b.timefreq.bldrdoc.gov iburst 
server time-c.nist.gov iburst prefer 
server time-c.timefreq.bldrdoc.gov iburst

Fixed in the latest rolling release.

erkin renamed this task from ntp.conf updated incorrectly. to ntp.conf updated incorrectly.Aug 29 2021, 1:47 PM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.