First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 88971
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Stoll <technoworx@gmx.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mxgrey-patch.diff patch to fix mxgrey=1 crash patch Benjamin Smee (strerror) (RETIRED) 2005-04-20 09:47 0000 375 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 88971 depends on: Show dependency tree
Bug 88971 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-13 08:43 0000
package update due to GLSA 200504-10 to version 1.5 introduces a new feature
"MXGREY" which is very useful, but if activated via "MXGREY=0" in gld.conf, it
breaks gld totally, postfix isn

------- Comment #1 From Alexander Stoll 2005-04-13 08:43:40 0000 -------
package update due to GLSA 200504-10 to version 1.5 introduces a new feature
"MXGREY" which is very useful, but if activated via "MXGREY=0" in gld.conf, it
breaks gld totally, postfix isn´t able to communicate to the policy daemon
process anymore:
[postfix/smtpd] warning: premature end-of-input on 127.0.0.1:2525 while reading
input attribute name
[postfix/smtpd] warning: problem talking to server 127.0.0.1:2525: Success

Then it rejects mail with server configuration problem.


Reproducible: Always
Steps to Reproduce:
1. update to gld 1.5
2. activate feature
3. watch postfix log

Actual Results:  
Postfix rejects email

Expected Results:  
communicate with postfix

------- Comment #2 From Alexander Stoll 2005-04-13 15:58:01 0000 -------
The feature "MXGREY" is activated via "MXGREY=1" of course... sorry for hasty
cut & paste...
Further digging in logfiles shows segfaults by gld, it seems to be the cause
for lost input postfix is complaining...

------- Comment #3 From Andrej Kacian (RETIRED) 2005-04-13 16:09:05 0000 -------
As I just tested, gld-1.5 ebuild only installs /etc/gld.conf.sample, with
MXGREY set to 0.

------- Comment #4 From Alexander Stoll 2005-04-14 01:23:59 0000 -------
That

------- Comment #5 From Alexander Stoll 2005-04-14 01:23:59 0000 -------
That´s correct, sample conf sets "MXGREY=0", but I think a advertized and very
useful feature should not cause segfaults of the daemon process and postfix
rejects email because of that.
This version is heavily broken if this could happen...
If time permits, I will do a debug build and a backtrace when this error is not
        comprehensible by everyone.

------- Comment #6 From Benjamin Smee (strerror) (RETIRED) 2005-04-20 09:12:50 0000 -------
Confirmed I can replicate this bug. Will provide more info as I get it.

------- Comment #7 From Benjamin Smee (strerror) (RETIRED) 2005-04-20 09:30:07 0000 -------
Further debugging shows that it is breaking right when gld tries to connect to
the database. I think this is an upstream bug.

------- Comment #8 From Benjamin Smee (strerror) (RETIRED) 2005-04-20 09:47:21 0000 -------
Attaching a patch which when applied stops the behaviour. I am not 100% sure
that the application is functioning normally, but my tests showed it was sane.
YMMV

------- Comment #9 From Benjamin Smee (strerror) (RETIRED) 2005-04-20 09:47:53 0000 -------
Created an attachment (id=56769) [edit]
patch to fix mxgrey=1 crash

------- Comment #10 From Benjamin Smee (strerror) (RETIRED) 2005-04-21 03:19:25 0000 -------
The author has confirmed my patch is ok, its been incorporated and a new
version has been released. This should be closed and this version masked imo.

------- Comment #11 From Tom Martin (RETIRED) 2005-04-21 10:07:05 0000 -------
The new version is in CVS.

Ben: I'm not going to mask the old versions because if people notice a problem they will probably go with the upgrade (or be following this bug already ;) ).

Thanks everyone, resolving.

--Tom

------- Comment #12 From Alexander Stoll 2005-05-20 05:24:19 0000 -------
This obviously fixed all issues and runs stable for several weeks on different
systems. If no one complains, this really should be marked stable and maybe the
versions with known issues should be dropped...

First Last Prev Next    No search results available      Search page      Enter new bug