Re: [chrony-users] Logging syslog messages to file |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Logging syslog messages to file
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Fri, 21 Mar 2025 08:57:10 +1300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1742500650; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe : list-unsubscribe-post; bh=pZvGG4ifHRQa6od32XKI3c1MXSUym8IQq9tdkExZVjE=; b=3TEkKn/qR5LPKg9PAcgSUaedOB4fAncCGvHiLfLD8+4DlQLWcfmsbmKx1iuosm8mxPDsU IJ0L7HIQ4l9XZ08GsBEI/JeXFvIHPF2vOZG67qjy8/ORjPNKCe8WEkJNHYYd2kUVy0i6PTD YfyuprlD6IHazgbI78M6lfdN5wWdtY43H/pNW4Fg1n3KbtoFebpiMiS8QRete1apXEaC73v XBQRhWFu2CUPGIeUp5WpevqoKjhVJEq0FgLxWpiv0r+Hx8hwqiHxbhod2Jh2cY87xPaFtd7 UbiCVBvnlqanQ4GPDBCv6CbzASirvBBnqrkAo5HZo7rwwaaPV9+PRqpcKQoA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatroute.net; i=@whatroute.net; q=dns/txt; s=s149811; t=1742500650; h=from : subject : to : message-id : date; bh=pZvGG4ifHRQa6od32XKI3c1MXSUym8IQq9tdkExZVjE=; b=HfaNaT0YEldAOF1jahZKPT23F5gWnALDSfZdz8FQrDlABFaMffQrZRew5+ihf11Pt02+m w6rRzw/Fr84etFnOKZO9EHWU54uMLlA1TajQiDgg1znhA4YeCeDDTySX4tRl2j7Fu3fWlP6 VTPGPEs7hpitzOGbcyzd9KWhD8m8JzpEDjUaXwUIPXDncMLcWAd1MIPjiG76KMWX1myny6t 1bCX1v+M7nHhJqT4Uu4OlAdFPzaudHGCDLcqIhIuc50KmXlNGeNafOPNhMe01BtprWzNjZi qmBnVPGYQbxgT8F/tCq9Xpufr7ePHCOGOlSwjCQFblWyKEKjuXk/8+aiuLTQ==
- Feedback-id: 149811m:149811acx33YQ:149811sVdyBqUMmz
> 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.