From owner-freebsd-rc@FreeBSD.ORG Mon Sep 27 16:22:52 2010 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FB111065679 for ; Mon, 27 Sep 2010 16:22:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD9E8FC37 for ; Mon, 27 Sep 2010 16:22:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o8RGGwR3076198 for ; Mon, 27 Sep 2010 10:16:58 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 27 Sep 2010 10:17:09 -0600 (MDT) Message-Id: <20100927.101709.343708041324879547.imp@bsdimp.com> To: rc@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Time to make /usr/lib/aout optional X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 16:22:52 -0000 I think its time to make /usr/lib/aout optional. The only thing that depends on it is /etc/rc.d/ldconfig. I think the following patch will make it optional. Comments? Index: ldconfig =================================================================== --- ldconfig (revision 213200) +++ ldconfig (working copy) @@ -66,8 +66,8 @@ i386) # Default the a.out ldconfig path. : ${ldconfig_paths_aout=${ldconfig_paths}} - _LDC=/usr/lib/aout - for i in ${ldconfig_paths_aout} /etc/ld.so.conf; do + _LDC="" + for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi