Page MenuHomeVyOS Platform

multiple ntp listen-address commands not working
Closed, ResolvedPublicBUG

Description

https://docs.vyos.io/en/sagitta/configuration/service/ntp.html#cfgcmd-set-service-ntp-listen-address-address

states: "... Multiple listen addresses can be configured."
This does not work - alternatively the documentation is wrong:

vyos@vyos# set service ntp listen-address 10.10.10.100
[edit]
vyos@vyos# set service ntp listen-address 10.96.1.1
[edit]
vyos@vyos# commit
[ service ntp ]
NTP Only admits one ipv4 value for listen-address parameter

[[service ntp]] failed
Commit failed
[edit]
vyos@vyos#

Details

Difficulty level
Unknown (require assessment)
Version
1.4.0 epa2
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

syncer added subscribers: rob, syncer.

This expected behavior due to change from ntpd to chrony
@rob needs to update documentation for 1.4 to reflect changes

@molocho see the tasks T5301 T5154 and https://chrony-project.org/doc/4.3/chrony.conf.html#bindaddress

Currently, for each of the IPv4 and IPv6 protocols, only one bindaddress directive can be specified.

Maybe we should create another xml file identical to listen-address.xml.i but without multi option define in line 16.

Maybe we should create another xml file identical to listen-address.xml.i but without multi option define in line 16.

@n.fort Why? It could be one IPv4 and one IPv6
Or 0.0.0.0

vyos@r4# set service ntp listen-address 192.168.122.14 
[edit]
vyos@r4# set service ntp listen-address 2001:db8::5054:ff:fe04:332b 
[edit]
vyos@r4# commit
[edit]
vyos@r4#
n.fort claimed this task.