Bug 198901 - [TRACKER] Nuking logrotate use flag
|
Bug#:
198901
|
Product: Gentoo Linux
|
Version: 2007.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: NEW
|
Severity: normal
|
Priority: P2
|
|
Resolution:
|
Assigned To: qa@gentoo.org
|
Reported By: jakub@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: [TRACKER] Nuking logrotate use flag
|
|
Keywords: Tracker
|
|
Status Whiteboard:
|
|
Opened: 2007-11-12 09:47 0000
|
Basically same reasons as in Bug 158114 Comment #0 apply here... 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 alogrotate 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. Thanks
app-antivirus/clamav-0.91
app-antivirus/clamav-0.91.1
app-antivirus/clamav-0.91.2
app-antivirus/clamav-0.92_rc2
app-backup/bacula-2.0.3
app-backup/bacula-2.2.4
app-backup/bacula-2.2.5
app-backup/bacula-2.2.5-r1
mail-filter/dspam-3.8.0-r6
mail-filter/spamassassin-fuzzyocr-3.5.1
mail-filter/spamassassin-fuzzyocr-3.5.1-r1
net-ftp/vsftpd-2.0.5-r3
net-mail/mailgraph-1.13
net-mail/mailgraph-1.14
net-proxy/squid-2.6.16
net-proxy/squid-3.0_rc1
sys-apps/qingy-0.9.6-r1
sys-cluster/vzctl-3.0.14
sys-cluster/vzctl-3.0.16
sys-cluster/vzctl-3.0.18
sys-cluster/vzctl-3.0.18-r1
sys-power/acpid-1.0.4-r5
sys-power/hibernate-script-1.95-r2
sys-power/hibernate-script-1.95-r3
sys-power/hibernate-script-1.96
sys-power/hibernate-script-1.96-r1
sys-power/hibernate-script-1.97-r1
www-servers/ocsigen-0.99.2
www-servers/ocsigen-0.99.3
Let me reiterate my position on squid's logrotate flag. This flag selects the
mode in which log rotation is performed:
1) native log rotation support (a cron script that calls squid -k rotate)
2) through logrotate program
I don't see how this could be done in any other way than having a USE flag for
it.
mail-filter/dspam-3.8.0-r6 has been removed (-r7 no longer has logrotate USE
flag).
(In reply to comment #1)
Thanks for clarifying. This bug is about nuking the flag in ebuilds where it
does nothing else but installing a logrotate script (and adding a optional
dependency). The squid usage looks perfectly valid.
clamav and mailgraph done.
The flag usage in spamassassin-fuzzyocr is a bit less trivial, as it also
decides on whether to enable logging, so I will leave it to maintainers (tomk +
chutzpah) to modify this package.
Reassigning since Jakub has left Gentoo.
reworking this into a TRACKER bug. individual bugs are being filed. removing
everybody from CC - please re-add yourself if you want to.
thanks