On Thu, Apr 10, 2014 at 02:01:46PM -0300, Hugo Osvaldo Barrera wrote:
> On 2014-04-10 14:58, Gilles Chehade wrote:
> > 
> > somehow you're not running the code you think you're running :-)
> > 
> 
> Ok, something's wrong here:
> 
> [...]
>
> smtpd: session_imsg: unexpected IMSG_LKA_AUTHENTICATE imsg
> warn: lka -> pony: pipe closed
> warn: parent -> pony: pipe closed
> warn: queue -> pony: pipe closed
> warn: control -> pony: pipe closed
> warn: scheduler -> control: pipe closed
>
> [...]
>

The "pony" process does not exist anywhere but in OpenBSD and
in our git repository, it's not part of any snapshot we have
published so far. I have no idea what you did but I can tell
you that you are running code from the OpenBSD tree and not
our opensmtpd-latest snapshot:


$ ls -l /usr/src/usr.sbin/smtpd/pony.c                                         
-rw-r--r--  1 root  wsrc  5042 Apr  4 18:10 /usr/src/usr.sbin/smtpd/pony.c

$ tar -zxf opensmtpd-latest.tar.gz
$ ls -l opensmtpd-201403261203/pony.c                                           
                                                              
ls: /home/gilles/opensmtpd-201403261203/pony.c: No such file or directory


 
> I noticed nor smtpd nor smtpctl have a "-version" argument, so I can't
> post the EXACT version, but I check out src after our email exchange
> earlier on, and built/installed that.
>

you can use smtpd -h:

$ smtpd -h
version: OpenSMTPD master
usage: smtpd [-dhnv] [-D macro=value] [-f file] [-P system] [-T trace]
$ 


> # cvs status  lka.c                                        
> ===================================================================
> File: lka.c             Status: Up-to-date
> 
>    Working revision:    1.166
>    Repository revision: 1.166   /cvs/src/usr.sbin/smtpd/lka.c,v
>    Sticky Tag:          (none)
>    Sticky Date:         (none)
>    Sticky Options:      (none)
> 

1.166 is the correct revision for that file so your /usr/src is up to
date, please provide output from smtpd -h + tell us how you built and
installed because again I can confirm that:

a- you can't be running the opensmtpd-latest code, it does not have a
   pony process (which si what's exiting in your logs);

b- you can't be running the binary that results from lka.c rev 1.166
   as it no longer returns IMSG_LKA_AUTHENTICATE to pony.c


> Note that /usr/src DID NOT exist on my system 14 hours ago, so it's
> compeltely impossible for me to have built with sources older that than
> (aside from -lastest, or course).
> 

No idea what you did and what you run :-)


-- 
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]

Reply via email to