Having a use flag for installing one plaintext file doesn't make sense.
- ebuilds don't handle this consistently (some just use this flag for
doins/newins a script to /etc/logrotate.d, some add app-admin/logrotate
dependency, some install the scripts unconditionally)
- users can use INSTALL_MASK if diskspace is an issue for them (extremely
unlikely), plus the installed scripts have no effect until you install
logrotate anyway, so if you don't want this functionality, just don't install
it, if you do, emerge logrotate and you don't have to care about anything else
and no need to re-emerge anything).
(BTW, the usage of this flag in net-proxy/squid really is special, don't quite
understand why not just use the rotate functionality squid itself has.)
So, please nuke the use flag and install the stuff unconditionally.
see #198901 and gentoo-dev for more info.
it is a pre-existing USE flag, and as such, it makes sense to me to re-use what is available. Exim has a pre-existing facility for cycling logs, (like squid). However some users have requested logrotate integration.
I would like to follow the principle of least surprise here, a new emerge shouldn't start to roll logs twice if the user already has logrotate installed for some other reason.
So, rather than do it unconditionally, I'd rather follow Squid's current practice of adding a file to cron.d instead.
Reassign to net-mail herd as peitolm retires