From owner-freebsd-doc@freebsd.org Sat Nov 12 16:48:28 2016 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 D84C5C3D73E for ; Sat, 12 Nov 2016 16:48:28 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from mxout1.bln1.prohost.de (mxout1.bln1.prohost.de [91.233.87.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B43D15B3 for ; Sat, 12 Nov 2016 16:48:28 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from airbears2-10-142-175-26.airbears2.1918.berkeley.edu (airbears2-136-152-142-175.airbears2.berkeley.edu [136.152.142.175]) (authenticated bits=0) by mx1.bln1.prohost.de (8.15.2/8.14.9) with ESMTPSA id uACGmNaH005006 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 12 Nov 2016 17:48:24 +0100 Subject: Re: freebsd-update and kernels To: freebsd-doc@freebsd.org References: <627FBEFC-27B7-4D0A-9D71-F1AA78AE74D6@adamw.org> From: Benedict Reuschling Organization: The FreeBSD Project Message-ID: <5d3d203a-ab58-d7d7-1ddb-c10e07f5cc65@FreeBSD.org> Date: Sat, 12 Nov 2016 08:48:21 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <627FBEFC-27B7-4D0A-9D71-F1AA78AE74D6@adamw.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tcIR7U3M3c7FqX8xtX4r3TqK7iPKJEDej" X-Null-Tag: 33003e2b16f8eca82d9e3cd40d124800 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: Sat, 12 Nov 2016 16:48:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tcIR7U3M3c7FqX8xtX4r3TqK7iPKJEDej Content-Type: multipart/mixed; boundary="nEnB6A6FDP6pe2I7SIAg3RxMV4sjNQuad"; protected-headers="v1" From: Benedict Reuschling To: freebsd-doc@freebsd.org Message-ID: <5d3d203a-ab58-d7d7-1ddb-c10e07f5cc65@FreeBSD.org> Subject: Re: freebsd-update and kernels References: <627FBEFC-27B7-4D0A-9D71-F1AA78AE74D6@adamw.org> In-Reply-To: <627FBEFC-27B7-4D0A-9D71-F1AA78AE74D6@adamw.org> --nEnB6A6FDP6pe2I7SIAg3RxMV4sjNQuad Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hello Adam, thank you for your suggestions to improve that chapter of the handbook. Warren is currently working on an upgrade/rewrite of another section in that chapter which might touch/overlap with your suggestions. Here is the review for it: https://reviews.freebsd.org/D7665 You're welcome to leave comments there if you think that will help get that chapter back into shape. Regards Benedict Am 11.11.16 um 23:51 schrieb Adam Weinberger: > Hi, doc folks. Can someone please take a look at section 23.2.3 of the = handbook? >=20 > At multiple points in 23.2.3.1, and in the nextboot instructions, it te= lls users that the GENERIC kernel will be updated if it lives in /boot/GE= NERIC. AFAICT, freebsd-update will only update the GENERIC kernel if it l= ives in /boot/kernel, NOT /boot/GENERIC. >=20 > At best, running "nextboot -k GENERIC" after following the instructions= will boot an old, non-updated kernel. At worst (i.e., if people follow t= he instructions given), they will attempt to boot a kernel that doesn't e= xist. >=20 > Shouldn't users be told to keep GENERIC in /boot/kernel, where freebsd-= update will actually update it, and to install custom kernels into /boot/= SOMENAME? >=20 >=20 > I'd suggest changing that nextboot line to be "nextboot -k kernel". >=20 > Then, I'd suggest replacing the first paragraph of 23.2.3.1 with someth= ing like this: >=20 > """ > Before using freebsd-update, ensure that a copy of the GENERIC kernel e= xists in /boot/GENERIC as a backup in case anything goes wrong. >=20 > freebsd-update will update the GENERIC kernel, but only if it is instal= led into /boot/kernel and only if it is completely unmodified. If a custo= m kernel has only been built once, [... etc] > """ >=20 > And in the last sentence of that section, change /boot/GENERIC to /boot= /kernel. >=20 > # Adam >=20 >=20 --nEnB6A6FDP6pe2I7SIAg3RxMV4sjNQuad-- --tcIR7U3M3c7FqX8xtX4r3TqK7iPKJEDej 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 iQJ8BAEBCgBmBQJYJ0fYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5OUI4RkY5NjY1RkY4OTgwM0Y1OERCNTU3 MzNGQjU4NUYyNzc1OEZFAAoJEHM/tYXyd1j+HboP/AuMNoV/rUjsVM0NMa/yLKiN y7t+Pmqo6foPEVurziIXK4Rz2PY/2UIkGiktX1mSeeGfiXo24PC/6I1CFWthdJ0g op00qaYN8gwHv16Y3pGTHc98Itv2qF4tn7YVHoYNygVDGsBSla4rAOEEGjczt34h sCwNNzro7r660gbvoql7EkF+/RzYjNXoqLU6pJ+Uf4CANbwKfQP0YNfxzDamvZ0T TTkFfWKGo5Gh0C04O9BwVokSn4kgarWiNSp2u/FRYTvFaISHljENRHeMyNytNGXF 9Iy2ssVZIwNm3psB3ag/TPBDky48aC6OUGX0coU59zYbEh5loPrak1OLN5Wa6TZK WGKLZLudg/ruLDKcC69sP05C33/A2zxfgY1XwJfaR7EIWOiJAC9J+J1K0itzBnyD TmzBLhluv5XiAqXBqGcu1wyevBiqd85g5iZJ2ph7ihghNVH42YxTEIqK9IReMCy1 +Qxo+agthwSQu6Sc7aSuo/2RurObl32Ty8dJGrwTFRAiA4UFV8bGqgqdgjXsrrCx XeNYtuF7/duAkqZq7HZY5KGVFcLaIibjrmQ07pKcFcFjYwGCN/Xk6DIfwROHGjVg Hzb02ONu7qeEV0NJk6lqZo8aNPH6J2a7Vtorw3lHY0XLieNm90sdUvmc2Sx6y7qa Cu9Gi00ilLgvO+fHS46P =ludk -----END PGP SIGNATURE----- --tcIR7U3M3c7FqX8xtX4r3TqK7iPKJEDej--