From owner-freebsd-stable@freebsd.org Thu Dec 27 16:30:51 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78291141A30D for ; Thu, 27 Dec 2018 16:30:51 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C6F63825B3 for ; Thu, 27 Dec 2018 16:30:50 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 85A1E141A30A; Thu, 27 Dec 2018 16:30:50 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6352E141A308 for ; Thu, 27 Dec 2018 16:30:50 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 AC3E7825AB; Thu, 27 Dec 2018 16:30:49 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id wBRGUkjW034824; Thu, 27 Dec 2018 16:30:46 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id wBRGUkvJ034823; Thu, 27 Dec 2018 08:30:46 -0800 (PST) (envelope-from david) Date: Thu, 27 Dec 2018 08:30:46 -0800 From: David Wolfskill To: Ian Lepore Cc: stable@freebsd.org Subject: Re: Success updating stable/11 to /12; a couple things to note Message-ID: <20181227163046.GD22302@albert.catwhisker.org> Reply-To: stable@freebsd.org Mail-Followup-To: stable@freebsd.org, Ian Lepore References: <20181227135314.GW22302@albert.catwhisker.org> <1545927189.78877.80.camel@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4AmJdx/+JAF2YHMk" Content-Disposition: inline In-Reply-To: <1545927189.78877.80.camel@freebsd.org> User-Agent: Mutt/1.11.1 (2018-12-01) X-Rspamd-Queue-Id: AC3E7825AB X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2018 16:30:51 -0000 --4AmJdx/+JAF2YHMk Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 27, 2018 at 09:13:09AM -0700, Ian Lepore wrote: > On Thu, 2018-12-27 at 05:53 -0800, David Wolfskill wrote: > > * I found that I actually needed to create the ntpd user on the > > =A0 running system prior to "make installworld" -- having run > > =A0 "mergemaster -U" against the target (DESTDIF) was insufficient. >=20 > The correct update sequence involves running mergemaster twice, once > with the -p option, then again later without it. It's detailed at the > bottom of UPDATING. People get in the habit of skipping the -p step > because it's only really needed once every few years, such as when a > new user is added to the base system. >=20 > -- Ian > .... Yes, but the one after "make installworld" isn't likely to affect the "make installworld". :-) The sequence of events: mount -u -r / mount -u -r /usr mount /dev/ada0s1a /S1 mount /dev/ada0s1d /S1/usr mount -u -w /S1 mount -u -w /S1/usr ln -fhs /var /S1/var mount -o ro freebeast:/usr/src /usr/src mount -o ro freebeast:/usr/obj /usr/obj id mount cd /usr/src uname -a date make LD=3Dld.lld installkernel DESTDIR=3D/S1 date mergemaster -U -u 0022 -p -D /S1 date rm -fr /S1/usr/include.old date mv -f /S1/usr/include /S1/usr/include.old date rm -fr /S1/usr/share/man date make installworld DESTDIR=3D/S1 date mergemaster -F -U -u 0022 -i -D /S1 date make delete-old DESTDIR=3D/S1 date date df -k date My point was that running "mergemaster -U" against the new image (/S1, in the case above) is not sufficient for "make installworld DESTDIR=3D/S!" to work: it is necessary that the *running* system be aware of the "ntpd" user (I presume, to allow ownership of files to be set by the "ntpd" name, vs. the numeric "123"). Peace, david --=20 David H. Wolfskill david@catwhisker.org Beyond some threshold, should presidential lies become impeachable offenses? See http://www.catwhisker.org/~david/publickey.gpg for my public key. --4AmJdx/+JAF2YHMk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAlwk/jZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcnkuAgAlylkgwZ9VEnVuJW/T0hTbRsQ9qwBD0iUNPLkYYnx6bTfj7s4EiAX5hae fSJbcsaU8eC7j/4eUY9XEpiIHgDq+24x0K89+FLVyd+ccdeM0tRP2aCq0NG2+iad vTegeVQSIgjInVOj29QtImC0+aQW66/sKy5mqNcuvhL1pfd9cdD8ThhB3N0JS6DE 2Riin1MDkpq58R5zHLbI93QBNGlDswIO1k6XNk8+fPVwr+tldqsHPIJmrvPJavov Z1mBK6YxdyDru3VoUkxHTRMKlKG1itJFI3StWRYcYG20XEPnVWnAjsYqy36zmYgR Kv+lZkYklUAAIjY4gpro3wLfhtaqtQ== =+TB8 -----END PGP SIGNATURE----- --4AmJdx/+JAF2YHMk--