| Re: [chrony-users] chronyc serverstats => 501 not autorized |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: Gerd Hoerst <gerd@xxxxxxxxxx>
- Subject: Re: [chrony-users] chronyc serverstats => 501 not autorized
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 19 Nov 2025 13:44:43 +0100
- Cc: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1763556292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pch5QP++p4VzUXxnrrjjvprTz4lDoPp+n8tFSwBMKGg=; b=g4Y3NoXL6hr/8fh03aO1taL9HUV+9v1MHepL5tP9kDELeuoHPH+h7jH49muDubGLD0cJ3i By37I/wyj6/bwm+J7kggjghLN9RjutTrQW9inU/7PE2GzqUixeqqjo+IrDa58WHhZCslno Z4787rLzq90okPHfEAOZhgYRG19z4WU=
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.
--
Miroslav Lichvar
--
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.