[chrony-dev] Cannot check config file as non privileged user |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] Cannot check config file as non privileged user
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Sat, 1 Apr 2023 10:56:39 +1300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1680299819; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=FNHX61On3AFkP1Bxcc/0LiEWxCscjM5qZamXbpPvhG4=; b=mR2q7aotgirjSgtUn3vCORZ/yDvDk9+83IJV/yk2JXcyHPzcUSwb+czdEGksenNkUq89k eIZC4Vg83FPyllfxsIz4Xda3b2GpiTMjb8uabT1c26EOA496y/JiiqILdU5WfzepcbmbUav iHCI9cuZdfvbId3cGSYSPhkdmGq/WZ9c29yeZwHVUmoUYB/vj4nmQLcLqOSDgoYRPbXioim CdDhSSIE+zhi3iGAtNKQQc9uXPGtE4ubhIU3Gc8j9FFbGdQUrimXv77lb6qFzBPF/5Plq8p 0qaIi7arplkwehvbw/u3cd2PHXPf6DfFmi4VAOCSLT+RXGWA7ANJmxMdJYeA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatroute.net; i=@whatroute.net; q=dns/txt; s=s149811; t=1680299819; h=from : subject : to : message-id : date; bh=FNHX61On3AFkP1Bxcc/0LiEWxCscjM5qZamXbpPvhG4=; b=VELOUzNBP+O4zUnryhhdTrjA95kahdZda5F+xixNjGYUo5S61xTFdHVA1X1aRIuY0+BfR YY4lIS+ZAXn91R0Pf+GDotZ5anFhAc4zFCMubL3QaTnPCrrfutCAw/ifEVVTW/ThgmvP9R1 iBu8vMbWOw6vfssseFCf0ewYw8na2+ISs5Th5RfE6hJqilv9DM6NYBEBhcG72sKWNiFw30W /9aAOVBb7mHLGLm/R4ThVtvggTHeXKYIcnqtOXWJlcEIXvvsko0trv7sr008qGBHwIqQgnu a2CXcXykKV66AHFgEHagpmuyXBi8sH+JS2I7VRZUV30Ab5/Ib2volmAoLyfQ==
In the chronyd man page the -Q option states "it allows chronyd to be started without root privileges"
However, when I use the -Q option to check the syntax of my chrony.conf file I am getting a fatal error when I try to add a refclock to my configuration.
refclock SOCK /var/run/chrony.clk.tty.usbserial-1420.sock offset 0.5 delay 0.1 refid GPS
bryan@number9 ~ % /usr/local/sbin/chronyd -Q -f /etc/chrony.d/chrony.conf
2023-03-31T21:49:47Z chronyd version DEV[4.3-71-g0189dac] starting (+CMDMON +NTP +REFCLOCK -RTC +PRIVDROP -SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
2023-03-31T21:49:47Z Disabled control of system clock
2023-03-31T21:49:47Z Fatal error : Could not open socket /var/run/chrony.clk.tty.usbserial-1420.sock
When I run as root it works fine, but is at odds with the documentation.
I am using the current git head to build chrony.
--
Bryan Christianson
bryan@xxxxxxxxxxxxx
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.