Re: chronyc serverstats => 501 not autorized
Miroslav Lichvar <[email protected]> Wed, 19 Nov 2025 13:44:43 +0100
| Newsgroups | gmane.comp.time.chrony.user |
|---|---|
| Message-ID | <aR27uyjYwJpR8btn@localhost> |
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-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]