On 2014-04-10 19:14, Gilles Chehade wrote:
> 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:
> 

That was my point, I'm using the latest from -current without doubt.

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

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

By the way, that's not on the man page! ;-)

> 
> > # 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:

Yup, and I never did a "cvs up". Meaning, the first time I downloaded
/usr/src, this is the version I had, so there's no way I built an older
version.

> 
> 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);
> 

Yes, I agree completely, I'm not running -latest.

> 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 :-)
> 

cd /usr/src/usr.sbin/smtpd
make
make install

:-)

> 
> -- 
> Gilles Chehade
> 
> https://www.poolp.org                                          @poolpOrg

-- 
Hugo Osvaldo Barrera

Attachment: pgpy1px_rXKB4.pgp
Description: PGP signature

Reply via email to