From nobody Thu Jul 18 20:45:54 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WQ4bD0GfFz5QM30 for ; Thu, 18 Jul 2024 20:46:16 +0000 (UTC) (envelope-from stable@lordcow.org) Received: from mail.lordcow.org (lordcow.org [IPv6:2c0f:fb18:402:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "devaux.za.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WQ4bB2XVyz43HR for ; Thu, 18 Jul 2024 20:46:14 +0000 (UTC) (envelope-from stable@lordcow.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of stable@lordcow.org designates 2c0f:fb18:402:5::2 as permitted sender) smtp.mailfrom=stable@lordcow.org Received: from lordcow.org (localhost [127.0.0.1]) by mail.lordcow.org (8.17.2/8.17.2) with ESMTPS id 46IKk0Gm082733 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 18 Jul 2024 22:46:00 +0200 (SAST) (envelope-from lordcow@lordcow.org) X-Authentication-Warning: lordcow.org: Host localhost [127.0.0.1] claimed to be lordcow.org Received: (from lordcow@localhost) by lordcow.org (8.17.2/8.17.2/Submit) id 46IKjshf082527 for freebsd-stable@freebsd.org; Thu, 18 Jul 2024 22:45:54 +0200 (SAST) (envelope-from lordcow) Date: Thu, 18 Jul 2024 22:45:54 +0200 From: Gareth de Vaux To: freebsd-stable@freebsd.org Subject: nextboot warns it won't reset Message-ID: List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on lordcow.org X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+ip6:2c0f:fb18:402:5::2]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XAW(0.00)[]; ASN(0.00)[asn:37199, ipnet:2c0f:fb18::/32, country:ZA]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[lordcow.org]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4WQ4bB2XVyz43HR Hi all, nextboot warns as follows: # nextboot -k testkernel WARNING: loader(8) has only R/O support for ZFS nextboot.conf will NOT be reset in case of kernel boot failure This's on a ZFS zroot 12.4-STABLE system. Does this mean that nextboot will not do its job? I see a blog mentioning that nextboot will write metadata to the ZFS pool label, in which case maybe the warning is no longer applicable? Also I suspect I should rather run "nextboot -D" to revert the situation. Is this equivalent to removing /boot/nextboot.conf and/or this metadata in the ZFS pool label?