Re: Logging syslog messages to file

Miroslav Lichvar <[email protected]> Thu, 20 Mar 2025 16:40:16 +0100
Newsgroups gmane.comp.time.chrony.user
Message-ID <Z9w24OYXKnuGMHve@localhost>
On Mon, Mar 17, 2025 at 11:36:23AM +0100, Miroslav Lichvar wrote:
> The trouble with that is chronyd might no longer have the permissions
> needed to do that. It opens the file very early when it still has root
> permissions. Maybe it could try to open the file for the second time
> and only if that succeeds, replace the original handle.

This is now implemented in the latest development code.

-- 
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]