From owner-freebsd-pkgbase@freebsd.org Sat Aug 18 17:34:16 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 741071071C95; Sat, 18 Aug 2018 17:34:16 +0000 (UTC) (envelope-from madpilot@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 1B4F17085A; Sat, 18 Aug 2018 17:34:16 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from tommy.madpilot.net (host139-125-dynamic.18-79-r.retail.telecomitalia.it [79.18.125.139]) (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 6F91911878; Sat, 18 Aug 2018 17:34:15 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Subject: Re: pkgbase: Move of head/etc/ files From: Guido Falsi 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> Openpgp: preference=signencrypt Autocrypt: addr=madpilot@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X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mAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: <840cdf90-373f-91bb-df70-01b6514a65c3@FreeBSD.org> Date: Sat, 18 Aug 2018 19:34:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: 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, 18 Aug 2018 17:34:16 -0000 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! -- Guido Falsi