Page MenuHomeVyOS Platform

'show ntp' Commands Not Working
Closed, ResolvedPublic

Description

It appears that the show ntp command (and those under it) no longer work for non-root users:

[edit service ntp]
trae@cr01a-vyos# show
 server ntp01.ac.trae32566.org {
     prefer
 }
 server sec01-cs9.dal10.trae32566.org {
 }
 server sec01-cs9.int.trae32566.org {
 }
 server sec01-cs9.wdc07.trae32566.org {
 }
[edit service ntp]
trae@cr01a-vyos# run show ntp
506 Cannot talk to daemon
[edit service ntp]
trae@cr01a-vyos# chronyc sources
506 Cannot talk to daemon
[edit service ntp]
trae@cr01a-vyos# sudo chronyc sources
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^* ntp01.ac.trae32566.org        2   6    77    33   +274ns[ +881ns] +/- 5741us
^- sec01-cs9.dal10.trae3256>     2   6    77    34  -2589us[-2588us] +/-   10ms
^- sec01-cs9.int.trae32566.>     2   6    77    33  +1059ns[+1059ns] +/- 5741us
^- sec01-cs9.wdc07.trae3256>     2   6    77    34  -2043us[-2043us] +/-   31ms

Maybe sudo needs to be added to whatever VyOS is doing under the hood?

Details

Difficulty level
Unknown (require assessment)
Version
1.5-rolling-202312130023
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

trae32566 triaged this task as Normal priority.
trae32566 created this object in space S1 VyOS Public.
dmbaturin claimed this task.
dmbaturin subscribed.

Works fine in latest 1.5