<?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>27206</bug_id>
          
          <creation_ts>2003-08-23 19:43 0000</creation_ts>
          <short_desc>Exim no longer logs to syslog</short_desc>
          <delta_ts>2005-07-14 14:24:23 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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 maint release</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>cal@calevans.com</reporter>
          <assigned_to>peitolm@gentoo.org</assigned_to>
          <cc>gentoo@anarres.org</cc>

      

      
          <long_desc isprivate="0">
            <who>cal@calevans.com</who>
            <bug_when>2003-08-23 19:43:09 0000</bug_when>
            <thetext>As of exim-4.20-r1.ebuild the option to log to syslog has been removed. Can we
please have it back?

Reproducible: Always
Steps to Reproduce:
1.emerge /usr/portage/net-mail/exim/exim-4.20-r1.ebuild
2./etc/init.d/exim restart
3.tail /var/log/messages

Actual Results:  
I get no messages from exim

Expected Results:  
I should see messages from exim

This is the one thing I hate about Gentoo. Ebuild mantainers decide that
functionality should change.  If someone objects to logging to syslog then
please add a keyword to kae it optional but functionality like this should not
change on a whim. 

Thanks,
=C=</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tschafer@hotmail.com</who>
            <bug_when>2003-08-25 10:43:24 0000</bug_when>
            <thetext>As a work around add the following line to your exim.conf file:
log_file_path=syslog



A local USE variable will be added to support setting this option at compile time</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2004-01-18 06:57:43 0000</bug_when>
            <thetext>*** Bug 28866 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2004-03-18 15:37:39 0000</bug_when>
            <thetext>handing these over to Jay</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@anarres.org</who>
            <bug_when>2004-03-19 05:28:18 0000</bug_when>
            <thetext>This is NOTABUG and should be closed.

Thanks.

S.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cal@calevans.com</who>
            <bug_when>2004-03-19 08:57:49 0000</bug_when>
            <thetext>I&apos;ve got to disagree. It is a bug. This was normal behavior up through the 4.14 ebuild. Then somebody changed it. It broke scripts I run.  Since it was the default behavior, if somebody doesn&apos;t like it, why not add a local keyword to change it but leave it as default for those of us who do like it?

=C=</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@anarres.org</who>
            <bug_when>2004-03-19 09:57:17 0000</bug_when>
            <thetext>That&apos;s fair comemnt. I got hit by the same problem. I just assumed that publishing the information was sufficient. But I agree with the previous poster.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>peitolm@gentoo.org</who>
            <bug_when>2004-04-24 03:03:09 0000</bug_when>
            <thetext>The /etc/exim/exim.conf.dist in exim 4.31.ebuild and onwards should now define log_file_path=syslog by default.  
# Note: 
# If exim cannot log to syslog it will try to log to, /var/log/exim/exim_%s.log
log_file_path=syslog

This should resolve this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>peitolm@gentoo.org</who>
            <bug_when>2004-06-15 13:45:03 0000</bug_when>
            <thetext>no more complaints/comments, marking bug resolved. feel free to re-open if there&apos;s still a problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jtalbut@spudsoft.co.uk</who>
            <bug_when>2004-08-10 06:08:30 0000</bug_when>
            <thetext>This isn&apos;t resolved, as noted both in the duplicate bug report and the exim documentation there are situations in which exim logs only according the build instructions and not according to the conf file (basically when it panics on startup).
The only correct resolution to this bug is a local USE variable as stated by  Tim Schafer in the first comment.
My apologies for not commenting on this before Colin closed it, I assumed Tim&apos;s resolution would be followed so I haven&apos;t been tracking it (I&apos;ve been manually editing my exim ebuilds to &apos;correct&apos; the log path).

I don&apos;t have the power to reopen this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>peitolm@gentoo.org</who>
            <bug_when>2004-08-10 13:38:08 0000</bug_when>
            <thetext>O.K. I&apos;ll re-open this bug.
a few points.
I&apos;ll be adding a local USE variable called syslog, this will basically set the default (encoded into the binary) log bath to syslog, as this is a new local USE variable I don&apos;t believe it will affect anyone who&apos;s upgrading.
I will disagree with the original bug that the option to log to syslog has been removed, for some reason it appears that the binary&apos;s log path was changed, the option is still there though.

I don&apos;t know when this USE variable will be added, but I suspect it will be done by/at the time of the next exim version bump.

Colin.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>peitolm@gentoo.org</who>
            <bug_when>2005-01-08 08:03:11 0000</bug_when>
            <thetext>Added support to exim-4.43-r2 upwards</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>peitolm@gentoo.org</who>
            <bug_when>2005-07-14 14:24:23 0000</bug_when>
            <thetext>no further comments, ebuild has been in portage and stable for a while.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>