From owner-freebsd-stable@FreeBSD.ORG Thu Aug 14 08:51:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58C861065679 for ; Thu, 14 Aug 2008 08:51:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 439C68FC17 for ; Thu, 14 Aug 2008 08:51:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 2B4B41CC0BE; Thu, 14 Aug 2008 01:51:25 -0700 (PDT) Date: Thu, 14 Aug 2008 01:51:25 -0700 From: Jeremy Chadwick To: Morgan =?iso-8859-1?Q?Wesstr=F6m?= Message-ID: <20080814085125.GA12129@eos.sc1.parodius.com> References: <48A3E29D.3090504@pp.dyndns.biz> <20080814081309.GA8249@eos.sc1.parodius.com> <48A3EE12.7060302@pp.dyndns.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48A3EE12.7060302@pp.dyndns.biz> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: Removing /usr/lib32 on AMD64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 08:51:25 -0000 On Thu, Aug 14, 2008 at 10:34:26AM +0200, Morgan Wesström wrote: > Thanks for your answer Jeremy :-) > >> What you've documented above is the Correct Way(tm) to remove lib32 >> support. Though I advocate people not install it in the first place, >> unless they absolutely need it. > > I'm not sure I was ever given the option to deselect it during > sysinstall. I don't remember if 7.0-RELEASE sysinstall lists it, but I know 7.0-STABLE does. > I don't rememeber any obvious question at least and > /etc/src.conf did not exist efter install. What relevancy does this have to sysinstall? Nothing during sysinstall touches src.conf. Every FreeBSD system will be missing /etc/src.conf after an install; the same goes for /etc/make.conf. It's normal. >> The message from /etc/rc.d/ldconfig you see there about 32-bit >> compatibility ldconfig path is fine -- it shows an empty path, which is >> correct. Nothing to worry about there. > > There are references in ldconfig to a couple of options I find in > /etc/defaults/rc.conf > > ldconfig32_paths="/usr/lib32" # 32-bit compatibility shared library > ldconfig_local32_dirs="/usr/local/libdata/ldconfig32" > > Should I blank those? /usr/local/libdata/ldconfig32 is an empty folder here. No, do not blank them; they will not be used, as was shown to you by /etc/rc.d/ldconfig's output not utilising any 32-bit paths. There's no point in blanking something that won't get used, it'll just confuse someone who looks at the system or lead them astray. > There's also a /libexec/ld-elf32.so.1 left, with the same old date as > the libs, and a symlink from /usr/libexec/ld-elf32.so.1 pointing to it. > Should I leave them or remove them? They were not mentioned in the diff > in the bugreport. You should safely be able to remove those as well, assuming you have rebuilt/reinstalled world, and rebuilt all of your ports. Otherwise upon removal, programs utilising ld-elf32.so.1, won't have a valid ld.so loader, and will fail immediately. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |