From owner-freebsd-audit Thu Jun 21 4:15:18 2001 Delivered-To: freebsd-audit@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 5A9D137B401; Thu, 21 Jun 2001 04:15:13 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f5LBFDM14326; Thu, 21 Jun 2001 04:15:13 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 355F93808; Thu, 21 Jun 2001 04:15:13 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: nate@yogotech.com (Nate Williams) Cc: tlambert2@mindspring.com, John Baldwin , Peter Pentchev , arch@FreeBSD.ORG, audit@FreeBSD.ORG Subject: Re: new kldpath(8): display/modify the module search path In-Reply-To: <15151.41572.721434.703837@nomad.yogotech.com> Date: Thu, 21 Jun 2001 04:15:13 -0700 From: Peter Wemm Message-Id: <20010621111513.355F93808@overcee.netplex.com.au> Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nate Williams wrote: > > > To me, it seems more sensible to use the same interface that > > > ldconfig uses. > > > > Noooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! > > > > ldconfig is a serious pain in the ass, ever since the "fix" > > that made it not look in the linkage or configured directories > > on a lookup miss. > > > > This is particularly aggregious if you have a "/opt" or some > > other place where you prefer to install your ports or locally > > developed software. > > > > Having to reboot to make things work really, really sucks -- > > and that is often necessary if you build code from the net, > > which FreeBSD has mistakenly included as part os the base > > system monolith. OpenSSL, OpenSSH, and the resolver library > > are three examples that leap lithely to mind. > > Terry, it's simple to not have to reboot. Many ports already do this, > but a 'ldconfig -R' tells it to re-scan the known directories to pickup > new entries, which can be done at any time (as root of course). For the record, this is for 2.2.x and earlier systems only. 3.0 and above does not 'scan' the directories with ldconfig and do not create a cache of any sort. ldconfig -R has done nothing since 3.0-RELEASE. Only 'ldconfig -aout -R' actually does something these days. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message