net-misc/ntpsec installs /etc/logrotate.d/ntpd logrotate file that tries to rotate "/var/log/ntpd.log" log file. This log file is, however, not created by default by ntpd. It is only referenced by /etc/ntp.d/use-performance-logging "Collect NTP performance statistics for analysis" config snippet. This config snippet is disabled by default. Because /etc/logrotate.d/ntpd does not contain a "missingok" directive this results in errors every time logrotate is run: error: stat of /var/log/ntpd.log failed: No such file or directory 2019-10-19T03:20:01 pc logrotate[1234]: ALERT exited abnormally with [1] 2019-10-19T03:20:02 pc anacron[5678]: Job `cron.daily' terminated (exit status: 1) (produced output) Please add a "missingok" directive to this ntpd logrotate config file so it doesn't cause errors in the default configuration.
Reported upstream https://gitlab.com/NTPsec/ntpsec/merge_requests/1039
This issue is now fixed in the next release upstream. Given my lack of recent success with patches here, I'll leave it for someone else to fix the ebuild(s).
(In reply to James Browning from comment #2) > This issue is now fixed in the next release upstream. Given my lack of > recent success with patches here, I'll leave it for someone else to fix the > ebuild(s). I'm not sure what you mean, but if you provide me the patch, I'll add it.
Created attachment 593686 [details, diff] Possible patch this might be fileable as files/ntpsec-1.1.4-log-rotation-fix.patch
These are all fine in master (just missing-the-missing on the releases) so I added a patch to 1.1.7-r2 (along with some other minor bug fixes).