Re: [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: Re: [chrony-dev] Cannot check config file as non privileged user
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 3 Apr 2023 10:44:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680511469; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=b73j/Y99sNK7VrdUeW64fO+bnAlblAmu77UiGn7/THw=; b=O49R/oevISSqkB/FXr3IOqV2ZK96SkrPYkxH0f4YXU17qwq/oXI0jx7N74Czrb0CqO7WVI k2nQzgZTWZaTBzB4WLms24Ia/xKFVenWvcPbva562xBmHFO6JUGtJhm3z+SXxsQOIbqxjW KehyVv9VR3IzUnuy66l01C0eWr1gnT4=
On Sat, Apr 01, 2023 at 10:56:39AM +1300, Bryan Christianson wrote:
> 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.
The -p option is better for checking syntax of the config.
-Q prints the first measurement and exits. It can work without root
only if there is nothing in the config requiring root as would be the
refclock. I'll try to make it clearer in the man page.
--
Miroslav Lichvar
--
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.