*BSD News Article 48387


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!ulowell.uml.edu!europa.chnt.gtegsc.com!news.mathworks.com!tank.news.pipex.net!pipex!newsfeed.internetmci.com!uunet!in1.uu.net!news1.digital.com!nntp-hub2.barrnet.net!news.Stanford.EDU!microunity!deborah
From: deborah@microunity.com (Deborah Gronke Bennett)
Subject: Re: latest rdist and bsdi2.0
Message-ID: <DD2D5M.AAz@microunity.com>
Sender: usenet@microunity.com (news id)
Organization: MicroUnity Systems Engineering, Inc.
X-Newsreader: NN version 6.5.0 #6
References: <408vav$k9q@kadath.zeitgeist.net>
Date: Wed, 9 Aug 1995 22:00:58 GMT
Lines: 37

edgar@news.zeitgeist.net (Edgar Nielsen) writes:

>Hi,
>	I'm trying to get the latest version of rdist(6.1.0) working
>on bsdi2.0. It didn't take too much work to get a clean compile, but
>it gets a segmentation violation when I rdist TO the bsdi 2.0 machine.
>It doesn't core dump when I rdist to the bsdi 2.0 machine AND the 
>dirs/files being rdist'd don't already exist.

>To go any further, I would have to pull out gdb and also start
>understanding all of the rdistd debugging info, not a trivial task!

>Has anyone ported rdist to bsdi 2.0 yet or had better luck doing it?

>FYI The rdist that comes with bsdi 2.0 is the old version...

I ported rdist 6.1.0 to FreeBSD 2.0.5. The changes are available
by ftp from

ftp://ftp.dataplex.net/pub/FreeBSD/contrib/rdist

and have been submitted to usc.

The segv is due to passing quad_t args to a printf function
that is only expecting 32-bit quantities. Thus the following
args to the printf get all out-of-whack. See the context
diffs file at the ftp site for the details.

I have also pointed out the age of the rdist that comes
with FreeBSD 2.0.5 - it's from about 1992. Watch out
for amd - it's also that old. (Luckily the most recent
version, upl-102, has already been ported to FreeBSD.)
-- 
Deborah Gronke Bennett 	(WD5HJH) 	kernel and device drivers engineer
deborah@microunity.com			(408)-734-8100
MicroUnity Systems Eng., 255 Caspian Drive, Sunnyvale, CA 94089-1015 USA
 "Pick yourself up, dust yourself off, start all over again" 							Ginger Rogers in "Swingtime"