On 10.04.2014 14:58, Gilles Chehade wrote: > On Thu, Apr 10, 2014 at 09:39:37AM -0300, Hugo Osvaldo Barrera wrote: > > On 2014-04-10 14:32, Gilles Chehade wrote: > > > On Thu, Apr 10, 2014 at 09:12:03AM -0300, Hugo Osvaldo Barrera wrote: > > > > I updated OpenBSD to 5.5-current (using snapshots) yesterday, and THEN > > > > installed opensmtpd-latest. > > > > > > > > After running for a short while, smtpd simply exits. > > > > > > > > I'm guessing I should understand something from the line: > > > > "smtpd: session_imsg: unexpected IMSG_LKA_AUTHENTICATE imsg" > > > > > > > > > > The config below is irrelevant, this crash was introduced by the > > > processes merging in OpenBSD, it was fixed the day after. > > > > > > > Huh? I don't think I understood what you meant. > > > > The crash you see is not caused by the configuration, it is caused by > a logic error during our merging of multiple processes: > > > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/smtpd/pony.c?rev=1.1;content-type=text%2Fx-cvsweb-markup > > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/smtpd/lka.c?rev=1.165;content-type=text%2Fx-cvsweb-markup > > It was reported by jturner@, the day after and we could reproduce and > understand the issue which was later fixed with commit: > > > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/smtpd/lka.c.diff?r1=1.165;r2=1.166;f=h > > The issue no longer exists in the latest src on OpenBSD and in > OpenBSD snapshots that were generated after the commit above. > > > > > You can't be experiencing it with opensmtpd-latest because we've > > > not generated snapshots with this merging, you probably missed a > > > step when installing. > > > > > > > That's what I though, so I reinstalled opensmtpd-latest. The issue > > persisted, and that's when I gathered these logs. > > > > I can guarantee you that you somehow failed to reinstall opensmtpd-latest > because our latest snapshot has been generated looooooooong before we had > started the processes merging that led to this bug ... also: > > "smtpd: session_imsg: unexpected IMSG_LKA_AUTHENTICATE imsg" > > The file that contains that fatal() does not even exist in opensmtpd-latest.c, > it was introduced in OpenBSD the 2014-04-04 (see function pony_imsg()): > > > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/smtpd/pony.c?rev=1.1;content-type=text%2Fx-cvsweb-markup > > whereas opensmtpd-latest dates from 2014-03-26 > > somehow you're not running the code you think you're running :-) > > > > > I suggest that you cvs up src/usr.sbin/smtpd on -current, you'll > > > see the bug disappear ;-) > > > > > > > So I though stick with the smtpd in -current until a new snapshot arrives? > > > > eric@ is bringing back the changes we made to the openbsd tree to our > master branch so we should generate a new snapshot this week-end. > > The OpenBSD tree will ship with OpenSMTPD 5.4.3 which is basically 5.4.2 > with some enhancements for low cpu / low memory machines + several > processes merged into a single one, no new feature. > > Our next snapshot will be opensmtpd-latest (this means filter code and > some other experimental stuff) + the improvements we did in OpenBSD. > > > -- > Gilles Chehade > > https://www.poolp.org @poolpOrg > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] >
Hello, i had the same problem on OpenBSD -current with this fix applied http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/smtpd/lka.c.diff?r1=1.165;r2=1.166;f=h but smtpd still exits with smtpd: session_imsg: unexpected IMSG_LKA_AUTHENTICATE imsg warn: parent -> pony: pipe closed warn: queue -> pony: pipe closed warn: control -> pony: pipe closed warn: scheduler -> queue: pipe closed warn: lka -> pony: pipe closed after changing another IMSG_LKA_AUTHENTICATE -> IMSG_SMTP_AUTHENTICATE opensmtpd works again. (hoping its not complete bullshit) --- lka.c Sat Apr 12 22:44:03 2014 +++ lka.c Sat Apr 12 22:44:27 2014 @@ -209,7 +209,7 @@ ret = lka_authenticate(tablename, username, password); - m_create(p, IMSG_LKA_AUTHENTICATE, 0, 0, -1); + m_create(p, IMSG_SMTP_AUTHENTICATE, 0, 0, -1); m_add_id(p, reqid); Greetings and thank you very much for OpenSMPTD! Stefan -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
