> ".bak" is the traditional extension for local backup files used by various > editors (e.g. mg). Do you think the *.bak files in /etc/logrotate.d could > be ignored by default, similar to *~ and others? > > Of course I have found the tabooext option, but apparently it cannot be > set in /etc/logrotate.d/0.conf, and changing the default in logrotate.conf > is not an option, because /etc/logrotate.d was introduced to *avoid* > changing logrotate.conf.
Normally that is exactly what the main /etc/logrotate.conf file is for: either setting rules affecting all rotation targets (like dateext) or basic options (like tabooext). Of course .bak files could be set to be ignored by default (build-in). Thinking about it...