Red Hat Bugzilla – Bug 846222
chrony: does not check for I/O error before replacing files
Last modified: 2012-09-18 16:03:01 EDT
reference.c:update_drift_file() and rtc_linux.c:write_coefs_to_file()
overwrite original file even when I/O on the temporary file fails. Please check the return values of the write operations, or use ferror(). To be absolutely safe, you also need to call fflush() followed by fsync() directly before the fclose(), so that the new file contents isn't lost in a crash, but I'm not sure if this is really necessary here.
chrony-1.27-0.5.pre1.git1ca844.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing chrony-1.27-0.5.pre1.git1ca844.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
chrony-1.27-0.5.pre1.git1ca844.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.