*BSD News Article 16362


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!noc.near.net!lobster.sid.mcet.edu!lobster.sid.mcet.edu!johnj
From: johnj@lobster.sid.mcet.edu (John Jackson)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: newaliases - segmentation fault?
Date: 21 May 1993 11:47:24 GMT
Organization: MCET - Massachusetts Corporation for Educational Telecommunications
Lines: 29
Message-ID: <1tifgc$b0j@lobster.sid.mcet.edu>
References: <1993May18.194656.10836@fcom.cc.utah.edu>
NNTP-Posting-Host: lobster.sid.mcet.edu
X-Newsreader: TIN [version 1.1 PL8]

A Wizard of Earth C (terry@cs.weber.edu) wrote:
: In article <1tanbc$1m9@lobster.sid.mcet.edu> johnj@lobster.sid.mcet.edu (John Jackson) writes:
: >Hi:
: >
: >	I have 386bsd 0.1 at patch level 0.2.1.  I know that this is not the
: >current patch level but right now this machine is working great for all that
: >we are using it for and I am hesitant to do anything more to it.  I am now
: >having one problem with /usr/bin/newaliases.  Basically it writes about 24

[stuff deleted]

: For right now, reduce the number of aliases you use or modify the sendmail
: rewriting rules to define the aliases instead.
: 					Terry Lambert
: 					terry@icarus.weber.edu

Well, reducing the number of aliases *did* work.  It's funny.  When I reduce
the number of aliases to the point that newaliases works and doesn't seg fault
the aliases.db that gets written is always 8192 bytes, no matter how many or
few aliases I have defined.  Does this indicate any more specifically to anyone
where in the sendmail code something is broken?  It's like once you have too
many aliases defined then newaliases breaks because the aliases.db that it
writes would have to be larger than 8192 bytes.  I'm also using gdbm 1.5
instead of dbm (which didn't seem to even be in 386bsd?).  If anyone hears
about a fix that I can fold in to my 386bsd system I'd be happy to hear
about it.  I guess I might eventually be able to grab something outts NetBSD?

-John