From owner-freebsd-doc@freebsd.org Tue Jan 10 13:08:40 2017 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF690CA8C8F for ; Tue, 10 Jan 2017 13:08:40 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 71FBC1C90 for ; Tue, 10 Jan 2017 13:08:40 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 045189178 for ; Tue, 10 Jan 2017 13:08:35 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/045189178; dkim=none; dkim-atps=neutral Subject: Re: 23.6. Rebuilding World To: freebsd-doc@freebsd.org References: From: Matthew Seaman Message-ID: <931d203f-2553-0ab4-393b-113ebd975e69@FreeBSD.org> Date: Tue, 10 Jan 2017 13:08:25 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RQlGNaL5GhwXQO1jissnOBvGVm1X8ppRU" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,RCVD_IN_RP_RNBL, RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2017 13:08:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RQlGNaL5GhwXQO1jissnOBvGVm1X8ppRU Content-Type: multipart/mixed; boundary="faxc1L6NifQvWldwWjCOiEeXKLHIlLVEo"; protected-headers="v1" From: Matthew Seaman To: freebsd-doc@freebsd.org Message-ID: <931d203f-2553-0ab4-393b-113ebd975e69@FreeBSD.org> Subject: Re: 23.6. Rebuilding World References: In-Reply-To: --faxc1L6NifQvWldwWjCOiEeXKLHIlLVEo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2017/01/10 12:39, Ertan K=C3=BC=C3=A7=C3=BCkoglu wrote: > These old days, for a make world, handbook was saying that after succes= sful > compilation of world and kernel, we install kernel and then reboot into= > single user mode. > Current handbook is saying that we build world, kernel. Then install ke= rnel > and drop into single user mode. No testing of newly build kernel. ITYM: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html= ? That description certainly does appear to be a bit inconsistent. Specifically step 5 says: "Drop the system into single-user mode in order to minimize problems from updating any binaries that are already running. It also minimizes any problems from running the old world on a new kernel. # shutdown now" But if you follow the commands as shown, you're still running the old kernel and just about to overwrite the old world with a new one at this point... Either Step 5 should specify '# shutdown -r now' and select 'Single User' from the boot menu, or the sentence about 'old world on a new kernel' should be amended. As to whether a reboot into single user mode is always necessary? A lot of the time it probably isn't -- if you're running -STABLE or -RELEASE, you're not upgrading over a major version change or some other large delta in versions, and you're not making any kernel configuration changes, then you're probably OK. Otherwise, if you're on -CURRENT or making significant changes then definitely test the new kernel in single user mode before installing the rest of the world. Or use ZFS boot environments. Cheers, Matthew --faxc1L6NifQvWldwWjCOiEeXKLHIlLVEo-- --RQlGNaL5GhwXQO1jissnOBvGVm1X8ppRU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJYdNzRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn9v4P+gLNm9qL3WoTwOtu93L8wLOi 5hwJWdRM7hgfYaRzH9bNsHwRmXrn3WAf3LR5cvf1qEawTrEF0gJ16oxbG5xw/oUC ekdFb3mNkMaLFUAnU+TmVmvu+Bgxf84gs+siRVaK5qA+4F7Dtp2NMpsvysCYycVP IWZjal3IJKuZoP6uJe60bD4Hee5hudJ7NMTc+PvI749MaUf38Ds0ToUtgs4DBbLf 9ahvnhnJD+bcZUnbMTM0DPFMnmQjU0WYUj/kMXqYwJLbnjkwNl29hyDHA+P/MWzF HdVIqwCDy7223JhSeFPwf2EC+XBhqjmBnejQ5IfXpLo/DduRLyx5TXfCw792MUZF dQvQ5qGee91y1oJslTchNDgwOTN6k/04KP+YQ2BILyBQ0gV3WdZBns/oort73174 Obi3b4K9tQFZIBntKB4OJ3+EM4TiGPC2qucLG79X7pom5ARZnqqTSdIN4vqXmcdL Dr1c4kWwMUI6pLNqjSpSezl9wDeWRvoBrwKKnTbHdaThX5L5QsgsJp/ezuOV1RLK yJpIF0PIirLPq7sR2wNhj+gPVsFvwAb4FRzfiaLlPiTY2hCFUJOd35R8Csttb8dO eUA76/UC3P+lSVTiZpe5MAm+P5kCkoKl5CuTvBKzXVhCfoijzWf4bAcYo3RINYWx sOJBEd285qx5SBPc9lAI =hQkB -----END PGP SIGNATURE----- --RQlGNaL5GhwXQO1jissnOBvGVm1X8ppRU--