I’m having some issues setting up vyos as an ntp server for my labs here’s my settings below
==== version =====
vyos@gateway:~$ show version
Version: VyOS 1.5-rolling-202411200007
Release train: current
Release flavor: generic
Built by: [email protected]
Built on: Wed 20 Nov 2024 00:07 UTC
Build UUID: 1cc459e8-9de2-4c44-a806-d0b1e26f743c
Build commit ID: 2efc869757dab6
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Secure Boot: disabled
Hardware vendor: QEMU
Hardware model: Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID: b1b188a3-d042-43fa-92ba-1ec82fe14b11
Copyright: VyOS maintainers and contributors
====== NTP Configuration ====
ntp {
allow-client {
address 127.0.0.0/8
address 169.254.0.0/16
address 10.0.0.0/8
address 172.16.0.0/12
address 192.168.0.0/16
address ::1/128
address fe80::/10
address fc00::/7
address 192.168.5.0/24
address 192.168.22.0/24
}
leap-second smear
listen-address 0.0.0.0
ptp {
}
server 0.pt.pool.ntp.org {
pool
}
server 1.pt.pool.ntp.org {
pool
}
server 2.pt.pool.ntp.org {
pool
}
server 3.pt.pool.ntp.org {
pool
}
}
==== show ntp ===
vyos@gateway:~$ show ntp
.- Number of sample points in measurement set.
/ .- Number of residual runs with same sign.
| / .- Length of measurement set (time).
| | / .- Est. clock freq error (ppm).
| | | / .- Est. error in freq.
| | | | / .- Est. offset.
| | | | | | On the -.
| | | | | | samples. \
| | | | | | |
Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
==============================================================================
vyos@gateway:~$
=== snip from error log ===
root@gateway:/var/log/vyatta# cat cfg-stdout.log |grep ntp
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_27491/work/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_27491/work/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_27491/work/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_27491/active/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_27491/active/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_27491/active/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_27491/work/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_27491/work/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_27491/work/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_27491/active/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_27491/active/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_27491/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_27491/active/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_28987/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_28987/work/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_28987/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_28987/work/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_28987/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_28987/work/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_28987/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_28987/active/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_28987/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_28987/active/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_28987/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_28987/active/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_1481/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_1481/work/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_1481/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_1481/work/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_1481/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_1481/work/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_1481/service/ntp/allow-client/address/node.val", "/opt/vyatta/config/tmp/tmp_1481/active/service/ntp/allow-client/address/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_1481/service/ntp/leap-second/node.val", "/opt/vyatta/config/tmp/tmp_1481/active/service/ntp/leap-second/node.val" in copy_file. Falling back to internal stream_file
recursive_copy_dir failed due to boost::filesystem::copy_file: Invalid cross-device link: "/opt/vyatta/config/tmp/new_config_1481/service/ntp/listen-address/node.val", "/opt/vyatta/config/tmp/tmp_1481/active/service/ntp/listen-address/node.val" in copy_file. Falling back to internal stream_file