From owner-freebsd-questions@FreeBSD.ORG Thu Oct 1 06:03:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39824106566B for ; Thu, 1 Oct 2009 06:03:29 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C051D8FC08 for ; Thu, 1 Oct 2009 06:03:28 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n9163N1h046102; Thu, 1 Oct 2009 07:03:24 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n9163N1h046102 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1254377004; bh=mqo1AsIFGWnfBEJZ8LOJJJMbgz1UYQTun1viFWojMSk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AC44625.6010909@infracaninophile.co.uk>|Date:=20T hu,=2001=20Oct=202009=2007:03:17=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20David=20Southwell=20|CC:=20 'Frank=20Steinborn'=20,=20freebsd-questions@free bsd.org|Subject:=20Re:=20How=20to=20restore=20Base_Bind=20on=20amd 64=207.2=20p3|References:=20<4AC1E6EC.3080805@rumonitor.ru><20090929184641.GA17580@haydn. nognu.de>=09<1B6DC3865C3A46D0A1863A674C6CEAA4@sleuth64>=20<6D413C5 4678B485E90645DF432C705E8@sleuth64>|In-Reply-To:=20<6D413C54678B48 5E90645DF432C705E8@sleuth64>|X-Enigmail-Version:=200.95.6|Content- Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20proto col=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"--------- ---enig87A470F77991DB1E87CF124B"; b=n7FTA4mxvgaioeEmScv+WIDqDg9ihx+Ps4lT+8rmDeuHDhsLONPmYOxKq4nklUgkp 7hupA5stQ2ArlJe4ScXfSniegqwn7E0s9EMUbGID5OiDSZudKaVPVli0GvohgtnC7g b1l2Z1tCypI0Jhsk+R+/3zLNSTejh7xlC7kp+Q10= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AC44625.6010909@infracaninophile.co.uk> Date: Thu, 01 Oct 2009 07:03:17 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: David Southwell References: <4AC1E6EC.3080805@rumonitor.ru><20090929184641.GA17580@haydn.nognu.de> <1B6DC3865C3A46D0A1863A674C6CEAA4@sleuth64> <6D413C54678B485E90645DF432C705E8@sleuth64> In-Reply-To: <6D413C54678B485E90645DF432C705E8@sleuth64> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig87A470F77991DB1E87CF124B" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org, 'Frank Steinborn' Subject: Re: How to restore Base_Bind on amd64 7.2 p3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 06:03:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig87A470F77991DB1E87CF124B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable David Southwell wrote: >>> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Frank=20 >>> Steinborn >>> You should be able to restore the bind from base by using the=20 >>> install.sh script in /usr/src/contrib/bind9. Deinstall the=20 >> port first,=20 >>> though. >>> >> ThanksI deinstalled the port and tried to run install-sh=20 >> >> # sh install-sh >> and got the response: >>> install: no input file specified >> Any chance you might make me a little wiser on how to use install-sh?\= This advice -- to run install-sh -- is incorrect. install-sh there=20 is straight from the bind distribution and assumes you're building it as a separate piece of software, rather than integrated with the rest of the system sources. To reinstall bind from the FreeBSD source tree: * Check /etc/src.conf, /etc/make.conf and ensure that there are no WITHOUT_BIND or WITHOUT_BIND_NAMED or other relevant flags set=20 * Simplest thing to do is then run through a buildworld cycle. This takes a while and uses some CPU power but it's largely fire-ans-for= get. Instructions are here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makew= orld.html * If you're really in a hurry, then you can rebuild just bind etc. but this is less certain than the above. The following is extracte= d from http://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.a= sc # cd /usr/src/lib/bind # make obj && make depend && make && make install # cd /usr/src/usr.sbin/named # make obj && make depend && make && make install # /etc/rc.d/named restart =20 As the previous correspondent said, deinstall the port before doing this.= You should not need to recompile any other software because of this chang= e -- the shlibs generated should be interchangeable -- but you will need to= reboot to make sure that all the running processes are using the correct version of the resolver functions rather than a memory mapped copy of the= old shlibs even after the actual file was deleted and overwritten. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig87A470F77991DB1E87CF124B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkrERisACgkQ8Mjk52CukIxR3gCfefUaPoV6DdzDOPFBB5hUMiDM j/wAn16AVzEEcrcTulWC74V6d6/xnMH2 =zUE+ -----END PGP SIGNATURE----- --------------enig87A470F77991DB1E87CF124B--