From owner-freebsd-stable@FreeBSD.ORG Thu Jun 26 09:34:36 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 034A337B401 for ; Thu, 26 Jun 2003 09:34:35 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7292C43FA3 for ; Thu, 26 Jun 2003 09:34:33 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h5QGYA1I025206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Jun 2003 17:34:18 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h5QGYAWK025205; Thu, 26 Jun 2003 17:34:10 +0100 (BST) (envelope-from matthew) Date: Thu, 26 Jun 2003 17:34:10 +0100 From: Matthew Seaman To: Dmitry Morozovsky Message-ID: <20030626163410.GC22666@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Dmitry Morozovsky , "Geoffrey T. Falk" , freebsd-stable@freebsd.org References: <200306260552.h5Q5quhJ040169@h68-144-29-132.cg.shawcable.net> <20030626200206.I80636@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RIYY1s2vRbPFwWeW" Content-Disposition: inline In-Reply-To: <20030626200206.I80636@woozle.rinet.ru> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.4 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-stable@freebsd.org Subject: Re: Can I remove lib-elf.so.1? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 26 Jun 2003 16:34:36 -0000 --RIYY1s2vRbPFwWeW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 26, 2003 at 08:03:33PM +0400, Dmitry Morozovsky wrote: > On Wed, 25 Jun 2003, Geoffrey T. Falk wrote: >=20 > GTF> I am cleaning up my 4-STABLE system. After a fresh installworld, I am > GTF> looking at files that did not get touched by the install. Is it safe= to > GTF> remove all such files? > GTF> > GTF> In particular, I am looking at /usr/libexec/lib-elf.so.1, which has = the > GTF> schg flag set. I am afraid to remove this for fear of making my syst= em > GTF> unbootable. Could somebody please reassure me that it is ok to noschg > GTF> and remove this old file? >=20 > My 4.8-R and 4.8-S systems do not have this file: >=20 > marck@woozle:~> l -o /usr/libexec/lib-elf.so.1 > ls: /usr/libexec/lib-elf.so.1: No such file or directory > marck@woozle:~> uname -a > FreeBSD woozle.rinet.ru 4.8-STABLE FreeBSD 4.8-STABLE #4: Wed Apr 16 17:2= 8:12 > MSD 2003 marck@woozle.rinet.ru:/usr/obj/lh/src/sys/woozle i386 >=20 > root@kucha:/var# l -o /usr/libexec/lib-elf.so.1 > ls: /usr/libexec/lib-elf.so.1: No such file or directory > root@kucha:/var# uname -a > FreeBSD kucha.rinet.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Tue Apr 1 21:= 02:29 > MSD 2003 marck@kucha.rinet.ru:/usr/obj/FreeBSD/src.stable-48/sys/kucha > i386 >=20 > So, I suppose this file can be safely removed. But removing the similarly named 'ld-elf.so.1' would be a serious case of foot shooting. That's the run-time link editor, and without it an program that uses shared libraries will not work. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --RIYY1s2vRbPFwWeW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE++yCCdtESqEQa7a0RAn0RAJsGgC7ZBStFZkBXbwvAcPRQFE1RXwCgkKKy D7nzPOPgXUHsMJ5o/6uZ45c= =LbG+ -----END PGP SIGNATURE----- --RIYY1s2vRbPFwWeW--