*BSD News Article 16249


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!gatech!news.byu.edu!ns.novell.com!gateway.univel.com!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: newaliases - segmentation fault?
Message-ID: <1993May18.194656.10836@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University  (Ogden, UT)
References: <1tanbc$1m9@lobster.sid.mcet.edu>
Date: Tue, 18 May 93 19:46:56 GMT
Lines: 34

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
>bytes to /etc/aliases.db and then quits with a segmentation fault.  I've been
>poking around in the sendmail src trying to build a new version of it
>but I am not a real programmer and am stuck when it starts talking about
>undeclared functions and such.  It appears though that
>/usr/src/usr.sbin/sendmail/aux/newaliases.c and the other .c files in that
>directory aren't getting used or built when a make of sendmail is performed.
>Do you all have any suggestions as to how I can get newaliases to work?  Do
>I have to get the latest patch kit or (gulp) get into NetBSD?  Thanks for all
>your help, past and present!

The dbm code is broken for btree stuff.  I believe a newer (incompatable)
version has been ported, and sendmail and family hacked to work with it,
but I don't think this has made it into the patchkit, and I don't know if
it's made it into NetBSD.

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
---
Any opinions in this posting are my own and not those of my present
or previous employers.
-- 
-------------------------------------------------------------------------------
                                        "I have an 8 user poetic license" - me