| 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: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 20 Mar 2025 16:40:16 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;	s=mimecast20190719; t=1742485222;	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=g8Wep2u6a4q1uDvFSoAmOmThWZp+8/4iDnqe/ncGWCg=;	b=jFZH39oMqU7Yk8yv6D8WKDWqu6UmUJbHAtxsmH5VsPrkP+5QzxEREO36bJxgCEg45BUkoH	adhgY3cnE10EHhUMZEvp8itduSO1RzfwgPwHMulweMwF80yeWfMtbboYnpQ5cd+io6XKmA	UtMLqmEae8tgrJojsLhY6F6vrZSAWgQ=
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@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.