On 2014-04-10 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. >
Oh, now I understood that. :) > > > > 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 :-) > Apparently not - checking carefuly I think I updated to the latest snapshots the second time, instead of reinstalling smtpd. That's what I get for scripting everything and not paying enough atention. > > > > 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. > Great, I've installed the smtpd from -current. > > -- > Gilles Chehade > > https://www.poolp.org @poolpOrg Thanks a lot! I'll let you know if I come across any issues! Thanks for the really fast replies and all the great/hard work! :) -- Hugo Osvaldo Barrera
pgpYE3B2tvKyd.pgp
Description: PGP signature
