<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>198901</bug_id>
          
          <creation_ts>2007-11-12 09:47 0000</creation_ts>
          <short_desc>[TRACKER] Nuking logrotate use flag</short_desc>
          <delta_ts>2009-02-08 18:31:36 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          
          
          
          <keywords>Tracker</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>258173</dependson>
    
    <dependson>258174</dependson>
    
    <dependson>258176</dependson>
    
    <dependson>258178</dependson>
    
    <dependson>258180</dependson>
    
    <dependson>258181</dependson>
    
    <dependson>258182</dependson>
    
    <dependson>258186</dependson>
    
    <dependson>258187</dependson>
    
    <dependson>258188</dependson>
          <blocked>134491</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jakub@gentoo.org</reporter>
          <assigned_to>qa@gentoo.org</assigned_to>
          <cc>dertobi123@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-11-12 09:47:52 0000</bug_when>
            <thetext>Basically same reasons as in Bug 158114 Comment #0 apply here... Having a use flag for installing one plaintext file doesn&apos;t make sense.

- ebuilds don&apos;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&apos;t want this functionality, just don&apos;t install it, if you do, emerge alogrotate and you don&apos;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&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2007-11-12 10:13:51 0000</bug_when>
            <thetext>Let me reiterate my position on squid&apos;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&apos;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).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-11-12 10:25:54 0000</bug_when>
            <thetext>(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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-11-12 10:42:14 0000</bug_when>
            <thetext>hibernate-script done.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2007-11-12 12:58:20 0000</bug_when>
            <thetext>ocsigen done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2007-11-14 19:35:12 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rane@gentoo.org</who>
            <bug_when>2008-10-30 16:46:43 0000</bug_when>
            <thetext>Reassigning since Jakub has left Gentoo.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bangert@gentoo.org</who>
            <bug_when>2009-02-08 18:23:12 0000</bug_when>
            <thetext>reworking this into a TRACKER bug. individual bugs are being filed. removing everybody from CC - please re-add yourself if you want to.

thanks</thetext>
          </long_desc>
      
    </bug>

</bugzilla>