Skip site navigation (1)Skip section navigation (2)
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:   conf/12189: Can /usr/lib/aout be removed from BSD.usr.dist?
Message-ID:  <199906131616.SAA23926@internal>

next in thread | raw e-mail | index | archive | help


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 13 09:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906131616.SAA23926>