From owner-cvs-all Thu Sep 17 10:49:07 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20944 for cvs-all-outgoing; Thu, 17 Sep 1998 10:49:07 -0700 (PDT) (envelope-from owner-cvs-all) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20915 for ; Thu, 17 Sep 1998 10:48:53 -0700 (PDT) (envelope-from dillon@backplane.com) Received: (dillon@localhost) by apollo.backplane.com (8.8.8/8.6.5) id KAA01837; Thu, 17 Sep 1998 10:48:20 -0700 (PDT) Date: Thu, 17 Sep 1998 10:48:20 -0700 (PDT) From: Matthew Dillon Message-Id: <199809171748.KAA01837@apollo.backplane.com> To: Bruce Evans Cc: committers@FreeBSD.ORG Subject: Re: /usr/lib/compat/aout not being scanned? References: <199809171710.DAA22240@godzilla.zeta.org.au> Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk :> Hmm.. I think there is a bug in /etc/rc in regards to the handling of :> 'aout' subdirectories. It seems to only ldconfig /usr/lib/aout. It :> should probably scan all directories in $ldconfig_paths and load :> $dirname/aout into ldconfig if it exists for each directory. : :You have to put the aout subdirectories in $ldconfig_paths if :you want them. Similarly for $LD_LIBRARY_PATH, the default path :STANDARD_SEARCH_DIRS = "/usr/lib" built into ld and ld.so, and paths It's not a question of what I have to do, it's a question of what thousands of FreeBSD users are going to have to do to upgrade to the new release. The way I see it, we have two choices: Either the upgrade script handles the 'aout' case by adjusting /etc/rc, rc.conf, and/or rc.conf.local, or we hack ldconfig to handle it automatically (by generating both elf and a.out hints files and checking for $dir/aout for each directory). If we force every user to manually update his rc.conf[.local] *AND* their /etc/rc, there are going to be a large number of unhappy users. So, the real question is: What is the ugprade script going to do? If it replaces /etc/rc then checking for aout/ subdirs there solves the problem. If it doesn't, it must either edit rc.conf[.local] (which I think is problematic), or ldconfig must be hacked to handle aout/ subdirs so the old /etc/rc and rc.conf[.local] files work without modification. -Matt Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications & God knows what else. (Please include original email in any response)