Re: chronyc serverstats => 501 not autorized
Gerd Hoerst <[email protected]> Wed, 19 Nov 2025 15:37:23 +0100
| Newsgroups | gmane.comp.time.chrony.user |
|---|---|
| Message-ID | <[email protected]> |
Hi !
I downgraded to Chrony 4.7 and it works like it should...
Ciao Gerd
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
with "help" in the subject.
Trouble? Email [email protected]