From owner-freebsd-questions@freebsd.org Sun Nov 5 17:54:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A991E4C647 for ; Sun, 5 Nov 2017 17:54:39 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id D52C0632C7 for ; Sun, 5 Nov 2017 17:54:38 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39855173 for freebsd-questions@freebsd.org; Sun, 05 Nov 2017 23:49:51 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id vA5HsX49040775 for ; Mon, 6 Nov 2017 00:54:35 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id vA5HsTVv040774 for freebsd-questions@freebsd.org; Mon, 6 Nov 2017 00:54:29 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 6 Nov 2017 00:54:29 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Modernizing freebsd-update or moving to source upgrades Message-ID: <20171105175428.GA40566@admin.sibptus.transneft.ru> References: <20171105141148.2041.qmail@secure.orange-carb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171105141148.2041.qmail@secure.orange-carb.org> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 17:54:39 -0000 Colin Henein wrote: [dd] > > QUESTION: Do I need to do anything special to change over to > updating fbsd from source if I have been using freebsd-update in the > past? I see the instructions at section 23.5 of the handbook. Can I > just check out a new source tree with SVN from the 11.1 repository > and follow the steps to overwrite 11.0 with 11.1? Very much > appreciate any tips, especially on merging files in etc. From my experience, the source upgrade is more failsafe than the binary upgrade. If in doubt, I always use the source upgrade. IMHO you don't need to do anything special, just follow the instructions in /usr/src/Makefile, and don't forget the delete-old step. The mergemaster utility is also much more convenient than freebsd-update's merge routine, and you can rerun it as many times as you wish provided you have backed up your original /etc. I have always wondered if I could somehow use mergemaster together with binary upgrades. The last problem I had with freebsd-update (AFAIK when upgrading from 9.x to 10.x) was that after the first "freebsd-update install && reboot" all my network interfaces were gone: the old ifconfig did not go well with the new kernel. Luckily I had console access. I don't know however if this would have happened in case of a source upgrade. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859