Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 08:30:46 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: Success updating stable/11 to /12; a couple things to note
Message-ID:  <20181227163046.GD22302@albert.catwhisker.org>
In-Reply-To: <1545927189.78877.80.camel@freebsd.org>
References:  <20181227135314.GW22302@albert.catwhisker.org> <1545927189.78877.80.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181227163046.GD22302>