From owner-freebsd-pkgbase@freebsd.org Sat Aug 4 17:21:59 2018 Return-Path: Delivered-To: freebsd-pkgbase@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 9D514104C821; Sat, 4 Aug 2018 17:21:59 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 54A2880E98; Sat, 4 Aug 2018 17:21:59 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from tommy.madpilot.net (host109-130-dynamic.20-87-r.retail.telecomitalia.it [87.20.130.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id BD12119C23; Sat, 4 Aug 2018 17:21:58 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Subject: Re: pkgbase: Move of head/etc/ files To: Brad Davis , freebsd-arch@FreeBSD.org, freebsd-pkgbase@freebsd.org References: <1533167650.2567721.1460524472.3AC8CC35@webmail.messagingengine.com> <13a0c161-5646-1a71-c958-909829fdb6d2@FreeBSD.org> <1533401445.1155223.1463427888.4C7D62DA@webmail.messagingengine.com> From: Guido Falsi Message-ID: Date: Sat, 4 Aug 2018 19:21:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1533401445.1155223.1463427888.4C7D62DA@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Aug 2018 17:21:59 -0000 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. -- Guido Falsi