From owner-freebsd-stable Thu Feb 14 15:13: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id C8A1A37B400 for ; Thu, 14 Feb 2002 15:12:53 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020214231253.PCKT1214.rwcrmhc54.attbi.com@blossom.cjclark.org>; Thu, 14 Feb 2002 23:12:53 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1ENCqN37086; Thu, 14 Feb 2002 15:12:52 -0800 (PST) (envelope-from cjc) Date: Thu, 14 Feb 2002 15:12:52 -0800 From: "Crist J. Clark" To: Rick Hoppe Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Sendmail broken after upgrade 4.4-RELEASE to 4.5-STABLE Message-ID: <20020214151252.B36782@blossom.cjclark.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mailing@rickhoppe.nl on Thu, Feb 14, 2002 at 10:12:08PM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 14, 2002 at 10:12:08PM +0100, Rick Hoppe wrote: > Hello all, > > Today I CVSupped to get the RELENG_4 source on my server, so I could upgrade > my FreeBSD4.3-RELEASE to FreeBSD4.5-STABLE. But when everything was finished > and I rebooted my server, the sendmail installation was broken. When > sendmail was initialized by /etc/rc it gave me this error: > > Feb 14 21:30:00 ns1 sendmail[105]: NOQUEUE: SYSERR(root): Warning: .cf > version level (10) exceeds sendmail version 8.11.6 functionality (9) > > Some time ago I already upgraded the sendmail installation to 8.12.2 so I > didn't want make world to do something with sendmail. > > So I did specify in /etc/make.conf not to create sendmail, but somehow the > "old" version 8.11.6 was installed by make world. > > This is my /etc/make.conf > > CFLAGS= -O -pipe > NO_BIND= true # do not build BIND > NO_SENDMAIL= true # do not build sendmail and related programs > NO_X= true # do not compile in XWindows support (e.g. doscmd) > NOGAMES= true # do not build games (games/ subdir) > > All other options like NO_BIND, NO_X and NOGAMES were respected with make > world. So none of these were installed. That looks like it should have worked. > This is the procedure I took to upgrade: > make buildworld > shutdown now (to single user mode) > make installworld > return (back to multi user environment) > make buildkernel KERNCONF=FIREWALL (with IPFILTER enabled) > make installkernel KERNCONF=FIREWALL > shutdown -r now Your procedure is messed up (i.e. dangerous), but it shouldn't have caused this problem. You should (too be safe), # make buildworld # make buildkernel # make installkernel # shutdown -r now (in single-user mode) # make installworld # mergemaster # reboot If you want to live dangerously (if you feel comfortable recovering a broken system with a fixit floppy or CDROM), you can skip dropping into single-user mode. But you should always install the new kernel before the new world (the new world might not work with the old kernel, whereas the new kernel is usually back compatible with old world). > I already fixed the sendmail installation by starting "sh Build install" in > my sendmail source directory, but what did I do wrong to cause sendmail to > be installed by make world? Do you still have the object tree around? What does, $ ls -l /usr/obj/usr/src/usr.sbin Return? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message