From owner-freebsd-arch@freebsd.org Mon Aug 20 17:09:54 2018 Return-Path: Delivered-To: freebsd-arch@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 75A2B1075EAE; Mon, 20 Aug 2018 17:09:54 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17FAF778CF; Mon, 20 Aug 2018 17:09:54 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: brd/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DDC4823948; Mon, 20 Aug 2018 17:09:53 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 6AC1821DF2; Mon, 20 Aug 2018 13:09:53 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute5.internal (MEProxy); Mon, 20 Aug 2018 13:09:53 -0400 X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id E0588433E; Mon, 20 Aug 2018 13:09:52 -0400 (EDT) Message-Id: <1534784992.19285.1480236912.3910D875@webmail.messagingengine.com> From: Brad Davis To: Guido Falsi , freebsd-arch@FreeBSD.org, freebsd-pkgbase@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-7b72137a In-Reply-To: <840cdf90-373f-91bb-df70-01b6514a65c3@FreeBSD.org> References: <1533167650.2567721.1460524472.3AC8CC35@webmail.messagingengine.com> <13a0c161-5646-1a71-c958-909829fdb6d2@FreeBSD.org> <1533401445.1155223.1463427888.4C7D62DA@webmail.messagingengine.com> <840cdf90-373f-91bb-df70-01b6514a65c3@FreeBSD.org> Date: Mon, 20 Aug 2018 11:09:52 -0600 Subject: Re: pkgbase: Move of head/etc/ files X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2018 17:09:54 -0000 On Sat, Aug 18, 2018, at 11:34 AM, Guido Falsi wrote: > On 8/4/18 7:21 PM, Guido Falsi wrote: > > On 8/4/18 6:50 PM, Brad Davis wrote: > >> On Fri, Aug 3, 2018, at 4:43 AM, Guido Falsi wrote: > >>> On 8/2/18 1:54 AM, Brad Davis wrote: > >>>> Hello, > >>>> > >>>> I want to give some information on what is happening to files in head/etc/ and open a discussion. > >>>> > >>> > >>> Today while updating a pkgbase machine I got this error(with trimmed > >>> debug output): > >>> > >>> The following 1 package(s) will be affected (of 0 checked): > >>> > >>> Installed packages to be UPGRADED: > >>> FreeBSD-runtime: 12.0.s20180725172903 -> 12.0.s20180803092917 > >>> [mpnet-base] > >>> > >>> Number of packages to be upgraded: 1 > >>> > >>> Proceed with this action? [y/N]: y > >>> DBG(1)[71153]> want to upgrade advisory to exclusive lock > >>> [1/1] Upgrading FreeBSD-runtime from 12.0.s20180725172903 to > >>> 12.0.s20180803092917... > >>> [1/1] Extracting FreeBSD-runtime-12.0.s20180803092917: 1% > >>> DBG(1)[71153]> Populating config_file /etc/blacklistd.conf > >>> [1/1] Extracting FreeBSD-runtime-12.0.s20180803092917: 1% > >>> DBG(1)[71153]> Populating config_file /etc/defaults/rc.conf > >>> Segmentation fault (core dumped) > >>> > >>> I'm not sure if it's related to r336845 and r336847, but since those are > >>> the only one touching rc.conf recently it looks possible. > >>> > >>> Anyone has an idea what I've stumbled upon? > >>> > >>> I'm investigating this, but if I can't fix it shortly I'll revert to my > >>> previous pkg set and try again at another time. If some tests are needed > >>> I'll try to perform them as requested. > >> > >> This is a bug in pkg and has to do with these files transitioning from normal files to config files. > >> > >> I will try and work on this in the next week. > > > > Thanks in advance! > > > > For me there's no hurry. I have reverted my machine and will not be > > updating for at least a full week anyway. > > > > If you need testing I'm available though. > > > > Hi I just updated a machine using pkg with this patch added: > > https://github.com/freebsd/pkg/commit/30644237c1c655e43911110198fe23a9c835aa24 > > and it now works fine, so thanks a lot! Great, and I just committed this to ports as pkg 1.10.5_2. Regards, Brad Davis