From owner-freebsd-stable@FreeBSD.ORG Tue Nov 18 05:15:37 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ECC21170 for ; Tue, 18 Nov 2014 05:15:36 +0000 (UTC) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id 82CFAD7A for ; Tue, 18 Nov 2014 05:15:34 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 1FD8D21D44 for ; Tue, 18 Nov 2014 05:15:28 +0000 (GMT) Received: from modem-209-101-60-62.vip.uk.com (HELO swelter.hanley.stade.co.uk) (62.60.101.209) (smtp-auth username postmaster%pop3.stade.co.uk, mechanism cram-md5) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with (AES256-SHA encrypted) ESMTPSA; Tue, 18 Nov 2014 05:15:27 +0000 Received: from swelter.hanley.stade.co.uk (localhost [127.0.0.1]) by swelter.hanley.stade.co.uk (8.14.9/8.14.9) with ESMTP id sAI5FDkr021334 for ; Tue, 18 Nov 2014 05:15:13 GMT (envelope-from aw1@swelter.hanley.stade.co.uk) Received: (from aw1@localhost) by swelter.hanley.stade.co.uk (8.14.9/8.14.9/Submit) id sAI5FCR9021333 for freebsd-stable@freebsd.org; Tue, 18 Nov 2014 05:15:12 GMT (envelope-from aw1) Date: Tue, 18 Nov 2014 05:15:12 +0000 From: Adrian Wontroba To: freebsd-stable@freebsd.org Subject: Re: best overall upgrade from 8.x? Message-ID: <20141118051512.GB1995@swelter.hanley.stade.co.uk> Reply-To: aw1@stade.co.uk References: <54673CA1.5020008@netfence.it> <20141115125347.GC16633@swelter.hanley.stade.co.uk> <1416068269.4781.144.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1416068269.4781.144.camel@revolution.hippie.lan> X-Operating-System: FreeBSD 10.1-STABLE Organization: Oh dear, I've joined one again. User-Agent: Mutt/1.5.22 (2013-10-16) X-Gradwell-MongoId: 546ad5ef.140b8-481f-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: postmaster@pop3.stade.co.uk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-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: Tue, 18 Nov 2014 05:15:37 -0000 On Sat, Nov 15, 2014 at 09:17:49AM -0700, Ian Lepore wrote: > On Sat, 2014-11-15 at 09:26 -0600, Adam Vande More wrote: > > On Sat, Nov 15, 2014 at 9:20 AM, Dimitry Andric wrote: > > > > > On 15 Nov 2014, at 13:53, Adrian Wontroba wrote: > > > > > > > > On Sat, Nov 15, 2014 at 12:44:33PM +0100, Andrea Venturoli wrote: > > > >> On 11/15/14 05:48, Kevin Oberman wrote: > > > >>> I'd wait a month or so and, if no problems that might impact you pop > > > up, > > > >>> I'd go with 10.1 > > > >> Uh... is direct upgrade (using sources) possible from 8.4 to 10.1? > > > >> No need to step through 9.x? > > > > > > > > Even the move from 9.2 (a near year old 9/stable) to 10.1 (stable/10 as > > > > of about 3 weeks ago) is slightly problematic. > > > > > > > > Following the normal upgrade procedure of installkernel and then > > > > rebooting with the userland untouched runs into a problem whereby > > > > rc.conf falls apart with a shower of eval errors, no networking, ... > > > > > > > > I do not know the cause. > > > > > > I almost certainly know the cause: you are supposed to reboot into > > > single user mode after installkernel. > > > > > > This is almost certainly not the cause. Something else in the horked up > > given procedure or some omission of facts is the likely cause. Fortunately, > > nice people have already created documentation on how to do this: > > > > https://www.freebsd.org/doc/handbook/makeworld.html > > > > > > No. It is absolutely the cause. It's clear from the original poster's > report of errors in rc scripts after booting on the new kernel. If the > instructions were followed you'd end up in single-user mode and the old > rc scripts would never have been run before the installworld put the new > ones in. Thanks Ian. Now that at $JOB we are no longer using NFS, and all machines have /usr/src and /usr/obj populated (transferred from the build machine), rebooting into single user mode after installing the new kernel becomes much easier. I'll try this on further test 9.2-STABLE to 10.1-STABLE rollouts. -- Adrian Wontroba