You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using another project built on this one, I periodically received the following notification by email:
/etc/cron.daily/logrotate:
error: /etc/logrotate.conf:22 duplicate log entry for /var/log/wtmp
error: /etc/logrotate.conf:29 duplicate log entry for /var/log/btmp
run-parts: /etc/cron.daily/logrotate exited with return code 1
After investigating, I notice that duplicates are introduced by your logrotate.conf, installed at the end of syslog-ng.sh, which contains btmp and wtmp sections. This doubles with files /etc/logrotate.d/btmp and /etc/logrotate.d/wtmp, which are already installed by the official package, just one line above in your script.
The text was updated successfully, but these errors were encountered:
Hello,
Using another project built on this one, I periodically received the following notification by email:
After investigating, I notice that duplicates are introduced by your
logrotate.conf
, installed at the end ofsyslog-ng.sh
, which containsbtmp
andwtmp
sections. This doubles with files/etc/logrotate.d/btmp
and/etc/logrotate.d/wtmp
, which are already installed by the official package, just one line above in your script.The text was updated successfully, but these errors were encountered: