From owner-freebsd-stable@FreeBSD.ORG Sat Nov 8 12:33:51 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 4FEF516A4CE for ; Sat, 8 Nov 2003 12:33:51 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED3E43FB1 for ; Sat, 8 Nov 2003 12:33:48 -0800 (PST) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) hA8KXkwa052084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Nov 2003 22:33:46 +0200 (EET) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9p2/8.12.9/Submit) id hA8KXglZ052075; Sat, 8 Nov 2003 22:33:42 +0200 (EET) (envelope-from ru) Date: Sat, 8 Nov 2003 22:33:42 +0200 From: Ruslan Ermilov To: Bjarne Wichmann Petersen Message-ID: <20031108203342.GB48923@sunbay.com> References: <200311061948.49788.freebsd.nospam@mekanix.dk> <200311071318.38340.freebsd.nospam@mekanix.dk> <20031107140555.GB34066@sunbay.com> <200311081546.51716.freebsd.nospam@mekanix.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vGgW1X5XWziG23Ko" Content-Disposition: inline In-Reply-To: <200311081546.51716.freebsd.nospam@mekanix.dk> User-Agent: Mutt/1.5.5.1i cc: freebsd-stable@freebsd.org Subject: Re: Buildworld stops at etc/sendmail (was: can't install 'bin/sh') 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: Sat, 08 Nov 2003 20:33:51 -0000 --vGgW1X5XWziG23Ko Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 08, 2003 at 03:46:51PM +0100, Bjarne Wichmann Petersen wrote: > On Friday 07 November 2003 15:05, Ruslan Ermilov wrote: >=20 > > Perhaps it's time that you show us your supfile? >=20 > Ok... I did yet another run at this. Cleaned out /usr/src, /usr/obj and= =20 > followed the steps outlined in: > >=20 > This is a step by step guide through what I'm doing. >=20 > 1) Delete /usr/src and /usr/obj. > 2) Running cvsup /usr/local/etc/cvsup/supfile (attached) > 3) cd /usr/src/usr.sbin/mergemaster > 4) ./mergemaster.sh -p (nothing unusual to report) > 5) cd /usr/src > 6) make -j4 buildworld >=20 > =3D=3D=3D> etc/sendmail > make: don't know how to make freebsd.cf. Stop > *** Error code 2 >=20 Sorry, but I have no idea why cvsup(1) doesn't bring you the src/etc/sendmail/freebsd.mc file. > 7) Then I did as Simone suggested: >=20 > cp /usr/src/etc/sendmail/freefall.mc /usr/src/etc/sendmail/freebsd.mc >=20 > 8) Removed /usr/obj again > 9) cd /usr/src > 10) make -j4 buildworld... TADA buildworld finished. > 11) build and install new kernel > 12) make -j4 installworld...=20 >=20 > =3D=3D=3D> bin/sh > install -s -o root -g wheel -m 555 sh /bin > Could not execute shell > *** Error code 1 >=20 The correct sequence is to boot with the new kernel before doing an installworld, as hinted in the src/UPDATING, its COMMON ITEMS section. > Right back to where I started... then exited bash and used the default sh= ell=20 > and ran installworld another time... and it completed without errors. I'v= e=20 > allways used bash, so I'm a bit puzzled by this. >=20 > 13) Lastly I finished the process by running mergemaster and noticed that= =20 > several files related to sendmail had been altered the last 1-2 days. Won= der=20 > if it's this that bit me? >=20 > Anyway, I still don't know why my buildprocess bailed out at sendmail and= =20 > whether my system still is broken? Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --vGgW1X5XWziG23Ko Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/rVMmUkv4P6juNwoRAmKqAJ488iU3o7HOYHFwZwVpgE7ERfioAgCdGiIH fkX/sBOxlcZcbHv3SBepbLs= =Hs1q -----END PGP SIGNATURE----- --vGgW1X5XWziG23Ko--