From owner-freebsd-current@freebsd.org Sun Apr 18 08:48:51 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D7E9A5E0FE5 for ; Sun, 18 Apr 2021 08:48:51 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FNNsH0bZYz4vYN for ; Sun, 18 Apr 2021 08:48:50 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: by mail-ed1-x531.google.com with SMTP id z5so614107edr.11 for ; Sun, 18 Apr 2021 01:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:content-language:thread-index; bh=OKKFz4ltPIhy/svnQilpwp8JJv0ezcVHXBL5L6Jd0zU=; b=Kyu8iVJfSsQFWWPxYGzzdq7EfPI7jiLbq4c8UjEAdFjF6s7OFV/JKUdsb9Ma3cdkDX p70MVgf4Dx8UyS1L/qPfREThqDLnAOCxckSqWZcmkL6RBzvUkyxGVvga4/WR6dgD3T9y iStHBzB4dIMEOr0uNIjwqIo03Je5QASMdjktYAFyIFhBGH58CYeqPP3C8K7pK53tyIc7 +XsqtBxbPV3I0c9b6KygDSh5PKLAVtX+tfH0qoH+1+0AJWTfz+yetfeHuxfF6Xb2m3e5 OoINg05caCdciGQIPp8kJpYOo6k4mL/IWk79sEoX8/8k0CD8qYKkovegeiDmlTG/5B2P Ga9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=OKKFz4ltPIhy/svnQilpwp8JJv0ezcVHXBL5L6Jd0zU=; b=C1dl5O/jnzWbDK01LskUvEN+3ODfB0C5EFfwusB0IJ9zYtm7KOdggn+uW/wrs723oZ PdSH/tk5y1PfbZhk/dGzOeZScenFg059Si3W8KifRdnF44n5n9cqE1w97NinZJvERG1k eoTdhZnPlP8stlbX10Q0RjZBsDRdlBHda5PZfY71wFFkuRySMD/Ljrs8cWd3kqWhOcAU 0uMvxTgwJ7fv2dV9e/ekUnuN+kbU6M/40Nv+NgUAGYVpZajWNJgBnpq2cB9XxanNV4WF SbU+LYZGYqtZhzwX55xAfZ3OG8ExtFnRlMNsC/GeD1tlKrXjdK2Dr4SLFOvaqGsueHW8 mb5g== X-Gm-Message-State: AOAM533evgUUtWa4fjEyDBlhsLJzNm77+T+WRNPgAKp1Zj5/jSQpWtSb 5NjuvztQuF7WhMCRBOK1Pff7ssPGaWs= X-Google-Smtp-Source: ABdhPJynEsd7/2pzmEdXBIaqXexlzIsBcubWB5WphqgQO1U8GZ9nRQfcrIzxsTIMwLHfgIgBvSfBHQ== X-Received: by 2002:a05:6402:4241:: with SMTP id g1mr19559392edb.331.1618735728748; Sun, 18 Apr 2021 01:48:48 -0700 (PDT) Received: from DRIESPC (ptr-8sijbm5a6ezv080db0z.18120a2.ip6.access.telenet.be. [2a02:1811:2505:1601:1da6:718:7183:5913]) by smtp.gmail.com with ESMTPSA id bu26sm7883406ejb.30.2021.04.18.01.48.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Apr 2021 01:48:48 -0700 (PDT) From: To: "'Graham Perrin'" , "'freebsd-current'" References: <705578b0-9d8e-3ad2-77c2-96a20ad3a16e@gmail.com> In-Reply-To: <705578b0-9d8e-3ad2-77c2-96a20ad3a16e@gmail.com> Subject: RE: Review D28062 of /usr/src/UPDATING with regard to upgrading FreeBSD and inconsistency with the FreeBSD Handbook Date: Sun, 18 Apr 2021 10:48:47 +0200 Message-ID: <000e01d7342f$a5f25b70$f1d71250$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-be Thread-Index: AQIRTO4jjb7v3vlczCEkvTsSxUcwpapFvKFw X-Rspamd-Queue-Id: 4FNNsH0bZYz4vYN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Kyu8iVJf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of driesmmichiels@gmail.com designates 2a00:1450:4864:20::531 as permitted sender) smtp.mailfrom=driesmmichiels@gmail.com X-Spamd-Result: default: False [-2.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[2a00:1450:4864:20::531:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::531:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.99)[0.988]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::531:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::531:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2021 08:48:51 -0000 > -----Original Message----- > From: owner-freebsd-current@freebsd.org current@freebsd.org> On Behalf Of Graham Perrin > Sent: Saturday, 17 April 2021 21:52 > To: freebsd-current > Subject: Review D28062 of /usr/src/UPDATING with regard to upgrading > FreeBSD and inconsistency with the FreeBSD Handbook > > 1) > > lines 2273 and > 2275 > > With ZFS in the mix, /usr/src is present but empty (the file system is not > mounted). See [3] a bit lower in the file at 2341. (cherry picked) - mount -u /, to mount the root as rw so that you can installworld on it. - sh /etc/rc.d/zfs start to mount all other datasets such as /usr/src, comes down to "service zfs start" > If single user mode is recommended, then why is this not in the FreeBSD > Handbook? > ok/cutting- > edge/_index.adoc?id=84d56d3868a699c64c51d7453cedab0f3468ba03#n620> Speaking of my own experience, I have not had any trouble doing source installs on the fly (not in single user mode) Altough, these mostly deal with STABLE/CURRENT branches and I can't comment on why it is recommended (probably just the safer route for .so bumps). > 2) > > line 2274 > > etcupdate -p > > I get: > > > No previous tree to compare against, a sane comparison is not possible. > > > > In the past I simply ran etcupdate after make installworld. Thats fine as long as there are no changes that could impact the installworld process, like an extra user that might be added (ntpd most recent), these are scarce though and you will typically notice pretty quickly as the installworld process will fail in some sort of way. I'm uncertain why it cannot compare to a previous tree, for me it gives no output which means its fine. Do you get normal output from "etcupdate diff"? > > If etcupdate -p fails before make installworld, then should the subsequent > etcupdate be with or without option -B ? -p and -B are not related. -p deals with changes needed for a correct run of installworld (see above). -B uses a freshly built world to speed up the tree comparison; although no flags work fine here as well, so -B is not necessarily required. > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"