Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2018 11:09:52 -0600
From:      Brad Davis <brd@FreeBSD.org>
To:        Guido Falsi <madpilot@FreeBSD.org>, freebsd-arch@FreeBSD.org, freebsd-pkgbase@freebsd.org
Subject:   Re: pkgbase: Move of head/etc/ files
Message-ID:  <1534784992.19285.1480236912.3910D875@webmail.messagingengine.com>
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> <d00b1f88-7044-a5dd-947e-8e7b05ca0661@FreeBSD.org> <840cdf90-373f-91bb-df70-01b6514a65c3@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1534784992.19285.1480236912.3910D875>