From andre.albsmeier@mchp.siemens.de Sun Jun 13 09:16:18 1999
Return-Path: <andre.albsmeier@mchp.siemens.de>
Received: from david.siemens.de (david.siemens.de [192.35.17.14])
	by hub.freebsd.org (Postfix) with ESMTP id EBF4C1534A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jun 1999 09:16:13 -0700 (PDT)
	(envelope-from andre.albsmeier@mchp.siemens.de)
Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14])
	by david.siemens.de (8.9.3/8.9.3) with ESMTP id SAA13712
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jun 1999 18:16:13 +0200 (MET DST)
Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7])
	by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id SAA19446
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jun 1999 18:16:11 +0200 (MET DST)
Received: (from daemon@localhost)
	by curry.mchp.siemens.de (8.9.3/8.9.3) id SAA54238
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jun 1999 18:16:10 +0200 (CEST)
Message-Id: <199906131616.SAA23926@internal>
Date: Sun, 13 Jun 1999 18:16:08 +0200 (CEST)
From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Can /usr/lib/aout be removed from BSD.usr.dist?
X-Send-Pr-Version: 3.2

>Number:         12189
>Category:       conf
>Synopsis:       Can /usr/lib/aout be removed from BSD.usr.dist?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 13 09:20:01 PDT 1999
>Closed-Date:    Mon Jun 14 07:32:36 PDT 1999
>Last-Modified:  Mon Jun 14 07:37:24 PDT 1999
>Originator:     Andre Albsmeier
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:

FreeBSD 3.2-STABLE, don't know about -current.

>Description:

Since the a.out compat libs now go into /usr/lib/compat/aout,
wouldn't it make sense to remove /usr/lib/aout from BSD.usr.dist?

If yes, we should also change _LDC=/usr/lib/aout to _LDC=/usr/lib/compat/aout
in /etc/rc and remove /usr/lib/compat/aout in /etc/defaults/rc.conf...

>How-To-Repeat:


>Fix:
	
--- etc/rc.ORI	Sun Jun 13 18:12:53 1999
+++ etc/rc	Sun Jun 13 18:13:05 1999
@@ -294,7 +294,7 @@
 	if [ X"`sysctl -n hw.machine`" = X"i386" ]; then
 		# Default the a.out ldconfig path.
 		: ${ldconfig_paths_aout=${ldconfig_paths}}
-		_LDC=/usr/lib/aout
+		_LDC=/usr/lib/compat/aout
 		for i in $ldconfig_paths_aout; do
 			if test -d $i; then
 				_LDC="${_LDC} $i"
--- etc/defaults/rc.conf.ORI	Sun Jun 13 18:13:43 1999
+++ etc/defaults/rc.conf	Sun Jun 13 18:13:54 1999
@@ -197,7 +197,7 @@
 clear_tmp_enable="NO"	# Clear /tmp at startup.
 ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib"
 			# shared library search paths
-ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout"
+ldconfig_paths_aout="/usr/X11R6/lib/aout /usr/local/lib/aout"
 			# a.out shared library search paths
 kern_securelevel_enable="NO"	# kernel security level (see init(8)), 
 kern_securelevel="-1"	# range: -1..3 ; `-1' is the most insecure
--- etc/mtree/BSD.usr.dist.ORI	Sun Jun 13 18:13:23 1999
+++ etc/mtree/BSD.usr.dist	Sun Jun 13 18:13:37 1999
@@ -12,8 +12,6 @@
     include
     ..
     lib
-	aout
-	..
 	compat
 		aout
 		..

>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@ucb.crimea.ua>
To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: conf/12189: Can /usr/lib/aout be removed from BSD.usr.dist?
Date: Mon, 14 Jun 1999 10:36:09 +0300

 On Sun, Jun 13, 1999 at 06:16:08PM +0200, Andre Albsmeier wrote:
 > 
 > Since the a.out compat libs now go into /usr/lib/compat/aout,
 > wouldn't it make sense to remove /usr/lib/aout from BSD.usr.dist?
 > 
 /usr/lib/aout is not for compat stuff, it is intended for
 current a.out libraries (``world'' compiled with -DWANT_AOUT).
 
 Can I close this PR?
 
 -- 
 Ruslan Ermilov		Sysadmin and DBA of the
 ru@ucb.crimea.ua	United Commercial Bank,
 ru@freebsd.org		FreeBSD committer,
 +380.652.247.647	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Jun 14 07:32:36 PDT 1999 
State-Changed-Why:  
/usr/lib/aout is required for *current* a.out 
libraries, not for compatibility stuff. 
>Unformatted:
