From owner-cvs-all@FreeBSD.ORG Wed Sep 15 01:57:47 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F6D916A4CE for ; Wed, 15 Sep 2004 01:57:47 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5139543D3F for ; Wed, 15 Sep 2004 01:57:47 +0000 (GMT) (envelope-from chitt@speakeasy.net) Received: (qmail 28444 invoked from network); 15 Sep 2004 01:57:47 -0000 Received: from dsl093-133-046.sfo4.dsl.speakeasy.net (HELO [192.168.0.52]) (chitt@[66.93.133.46]) (envelope-sender )encrypted SMTP for ; 15 Sep 2004 01:57:46 -0000 In-Reply-To: <20040914111440.GA44424@orion.daedalusnetworks.priv> References: <200409140301.i8E31cvR099301@repoman.freebsd.org> <20040914111440.GA44424@orion.daedalusnetworks.priv> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Sean Chittenden Date: Tue, 14 Sep 2004 18:57:44 -0700 To: Giorgos Keramidas X-Mailer: Apple Mail (2.619) cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src UPDATING src/etc/defaults rc.conf src/etc/rc.d Makefile ntpd rpcbind X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 01:57:47 -0000 >> Modified files: >> 1.10 +1 -1 src/etc/rc.d/rpcbind > > The dependency to ntpd added to rpcbind creates somehow a circular > dependency (at least that's what rcorder prints here before it > dumps core here): [snip] > The last two lines are probably a bug in rcorder triggered by the > circular dependency, but let's leave this for latter. Any hints about > the reason ntpd causes a circular dependency when added to the REQUIRED > line of rpcbind? Yeah, it's a double free(3). If you comment out the calls to free(3) the bl_list, r_tmp, pnode, and fnode (and their _tmp counter parts), you'll prevent the double free(3). I know that's not the correct solution, but since rcorder is such a short lived process with a limited role (albeit an important one), I think it'd be an okay solution for now. > I'm positively sure it was ntpd that caused this because removing it > from the dependencies of rpcbind lets the following finish normally: > > # rcorder -k FreeBSD /etc/rc.d/* > > If you plan to revert the change it's probably ok to temporarily keep > rpcbind without a dependency to ntpd in my local CVS. If ntpdate stays > out though, we should investigate this further. ! Bugger I thought this was specific to my environment since I don't have rpcbind in my rc.d tree. obrien (or whoever has assumed maintainership, couldn't find any references to someone), since you originally imported this code, do you have any plans on importing a recent snapshot of NetBSD's code? I've noticed that they've ANSIfied the code, though there aren't any changes that are significant or worth while beyond that. Regardless, for the time being, I have put ntpdate back in rpcbind. -sc -- Sean Chittenden