Re: [chrony-users] chronyc serverstats => 501 not autorized

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi
this is only because i created textfile under normal user :-)
the command was executed as root

Ciao Gerd

root@capricorn:~# strace chronyc -u root serverstats

Am 19.11.2025 13:44, schrieb Miroslav Lichvar:
On Wed, Nov 19, 2025 at 01:38:18PM +0100, Gerd Hoerst wrote:
gerd@capricorn:~/cloud/it$ strace chronyc -u root serverstats > txt.txt

This looks like chronyc is not running under root, unlike in the
previous strace.

socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/run/chrony/chronyd.sock"}, 27) = -1 EACCES (Keine Berechtigung)

This would be an expected error if not root or the chrony user.

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/