From owner-freebsd-stable@freebsd.org Thu Dec 27 17:57:08 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 9F6C9141E314 for ; Thu, 27 Dec 2018 17:57:08 +0000 (UTC) (envelope-from ian@freebsd.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 315B68555F for ; Thu, 27 Dec 2018 17:57:08 +0000 (UTC) (envelope-from ian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E2FB4141E313; Thu, 27 Dec 2018 17:57:07 +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 C05A8141E312 for ; Thu, 27 Dec 2018 17:57:07 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (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 3B4108555E for ; Thu, 27 Dec 2018 17:57:07 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1545933420; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=nk5SqmoOJsXitoBjQ7l2Z0U2ScInzsRvZg4hToYsXA/hcZ8A67v5JgWmyojNdnAov3y+HAOFwSWIS CdCRJ0+YN9BNgYwmoqF7hHECr/JOCHCn+YQnwpIkYHwn5os3BGYkWFdFaJLArwWBQwebEvLY1PnpBu ZkomFCB7wjRXhf6RdyIN6c2pUK8yGIOq6h5Otx6ZEKWb7S4eGYdc+psZyxlSY2EIKCSN5wo7urkGbe 038NHueDQmCzqT/yEKgpMppuSJbhVvGtKUjXo9wG2b9ggmULKH0wiAFu/+LXuWZP8s3tg29KINAnTa 6q0j59TmAaNNPfw2tENnZxKaqpYedTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=GHYxBu1FmNpRG7Ga3LzgMdQtEy/gx8J9wFGEVyX9lv8=; b=ps/SvTAhdRNChu3zAZGuFWvAwXkMmalPie/g7zWI2mg5zTNLUcAoRvvc36INyeBBb+gRKyyVjnISA ZaQM6K3vQYNSdJGKVa+3DHXjKa7eXpOb+fJOjD8R+5b9bV9RaTkg62q6+zo9rQlMw831W9nwmpzPml i4y6O0zzgy4GCWAS0ow1j/XOfCZIfSTyEa1i59tmOOhio2fXEkyTuDdlD1LNKo6zB9eVdie/UCe35Z AU5TqJpitHNdHBRv374WA6QwfYUEPXTW2cV+JYJ2muAcrx4uvki9y0gWvrkjyT7H6SuEb34wBqjnFZ Jv0iql2cnLMLycgk4ppacdwfO88wL4A== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=GHYxBu1FmNpRG7Ga3LzgMdQtEy/gx8J9wFGEVyX9lv8=; b=fKMF7lud5GrZrSDVLPyzKV13P7qj1wcGpGhQE3iVXbH7tot6vVd/I2QUUM4+9bckGKRUYguaiUwoi IcoDmi2c5Vuv3tbhmtz05CirdzcmpWRa26lvitlYqeD7HbMgdNpVXQqTUfAcUg3mMl5zXZey5hEq5k ATrlG071xMOKCxMi/n6CXk+1ASX5UWVo2pyjdlLktDA34cs/R96s8E2i//kGOFQDKfT3/kClxrjzvo nHGBN1+daFhKGa80qLvTodOapvuvMZ3dtm2Ps7W3an3CIqNoTPCU5u8nN1GDVcocJq7cfFvoU+07DB hb3olhSCxbTVOTrvFLK9hwrjitd9ZIA== X-MHO-RoutePath: aGlwcGll X-MHO-User: cd9abb98-0a00-11e9-a887-bd2f23b465e5 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id cd9abb98-0a00-11e9-a887-bd2f23b465e5; Thu, 27 Dec 2018 17:56:58 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id wBRHuvHd021953 for ; Thu, 27 Dec 2018 10:56:57 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1545933417.78877.82.camel@freebsd.org> Subject: Re: Success updating stable/11 to /12; a couple things to note From: Ian Lepore To: stable@freebsd.org Date: Thu, 27 Dec 2018 10:56:57 -0700 In-Reply-To: <20181227163046.GD22302@albert.catwhisker.org> References: <20181227135314.GW22302@albert.catwhisker.org> <1545927189.78877.80.camel@freebsd.org> <20181227163046.GD22302@albert.catwhisker.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3B4108555E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.985,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 17:57:09 -0000 On Thu, 2018-12-27 at 08:30 -0800, David Wolfskill wrote: > 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 > > >   running system prior to "make installworld" -- having run > > >   "mergemaster -U" against the target (DESTDIF) was insufficient. > > 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. > > > > -- 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=ld.lld installkernel DESTDIR=/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=/S1 > date > mergemaster -F -U -u 0022 -i -D /S1 > date > make delete-old DESTDIR=/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=/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 I must have missed the part where you were using DESTDIR= during the install. In that case, the right magic is to add DB_FROM_SRC=yes to the make installworld command. There were a couple proposals to automate that somehow, but I didn't see anything proposed that didn't basically subvert the entire purpose of that check for whether the user exists. -- Ian