From nobody Mon Aug 7 16:11:57 2023 X-Original-To: freebsd-current@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 4RKLtV0pddz4Tq2K for ; Mon, 7 Aug 2023 16:12:02 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 4RKLtT5vRnz4ZlN for ; Mon, 7 Aug 2023 16:12:01 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [188.174.55.7] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qT2pq-0005f9-Mr; Mon, 07 Aug 2023 18:11:58 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.16.1/8.14.9) with ESMTPS id 377GBvZ1014282 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 7 Aug 2023 18:11:57 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.16.1/8.14.9/Submit) id 377GBvKV014281; Mon, 7 Aug 2023 18:11:57 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 7 Aug 2023 18:11:57 +0200 From: Matthias Apitz To: Kevin Oberman Cc: Tim Kellers , freebsd-current@freebsd.org Subject: Re: Has the update procedure changed? Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Kevin Oberman , Tim Kellers , freebsd-current@freebsd.org References: <7A0E604D-EF40-4F10-B597-F1F076507192@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.55.7 X-Rspamd-Queue-Id: 4RKLtT5vRnz4ZlN X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE] El día lunes, agosto 07, 2023 a las 08:51:55a. m. -0700, Kevin Oberman escribió: > On Sun, Aug 6, 2023 at 9:51 AM Tim Kellers wrote: > > > > > > > On Aug 6, 2023, at 11:05 AM, Kevin Oberman wrote: > > > >  > > On Sat, Aug 5, 2023 at 10:51 PM Matthias Apitz wrote: > > > >> In the past I was used to use the following procedure to install a new > >> kernel and world: > >> > >> # cd /usr/src > >> # make installkernel > >> # shutdown -r now > >> > >> boot -s from the loader prompt > >> > >> # adjkerntz -i > >> # mount -a -t ufs > >> # mergemaster -p > >> # cd /usr/src > >> # make installworld > >> # mergemaster > >> # yes | make delete-old > >> # yes | make delete-old-libs > >> > >> # reboot > >> > ... > I am more confused about "etcupdate -p". Both files put it after the > kernel installation and reboot but before the installworld. The man page > for etcupdate says that '-p' it should be run before "make buildworld" and > I have always followed the man pages. The man page of mergemaster says: -p Pre-buildworld mode. Compares only files known to be essential to the success of {build|install}world, i.e., /etc/group and /etc/master.passwd. i.e. it must be run after installkernel and before installworld to adjust the new /etc/group and /etc/master.passwd. After installworld mergemaster should be run (or etcupdate) without -p to adjust all the scripts below /etc, /etc/rc.d/ ... I've used this procedure above for many years and it always let me decide it I want the new or the old or deal later with the diff of all these files. And so I did it yesterday and it worked fine again. Will check the next time what etcupdate wants to do, because it seems the sucsessor of mergemaster. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub