Re: [chrony-users] Logging syslog messages to file

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]



> On 21 Mar 2025, at 04:40, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> 
> 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.

Thank you Miroslav. Seems to work well for my use.

-- 
Bryan Christianson
bryan@xxxxxxxxxxxxx




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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/