Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2021 10:54:41 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        Ian Lepore <ian@freebsd.org>, Warner Losh <imp@bsdimp.com>
Cc:        Michael Gmelin <freebsd@grem.de>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Files in /etc containing empty VCSId header
Message-ID:  <f9039676-0e87-2409-7ae7-2d85ed291541@FreeBSD.org>
In-Reply-To: <2a280bc83d9a6289b3443329eb15bb0cb6c75063.camel@freebsd.org>
References:  <20210520183705.3673dfb2@bsd64.grem.de> <2bd37d63-1806-b621-a32b-954c912bd16b@FreeBSD.org> <CANCZdfo59R2Gd%2B-KB1=WvPY-RxR4h4U9ikAECHOnCddqh3VVRw@mail.gmail.com> <2a280bc83d9a6289b3443329eb15bb0cb6c75063.camel@freebsd.org>

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

On 6/7/21 12:58 PM, Ian Lepore wrote:
> On Mon, 2021-06-07 at 13:53 -0600, Warner Losh wrote:
>> On Mon, Jun 7, 2021 at 12:26 PM John Baldwin <jhb@freebsd.org> wrote:
>>
>>> On 5/20/21 9:37 AM, Michael Gmelin wrote:
>>>> Hi,
>>>>
>>>> After a binary update using freebsd-update, all files in /etc
>>>> contain
>>>> "empty" VCS Id headers, e.g.,
>>>>
>>>>       $ head  /etc/nsswitch.conf
>>>>       #
>>>>       # nsswitch.conf(5) - name service switch configuration file
>>>>       # $FreeBSD$
>>>>       #
>>>>       group: compat
>>>>       group_compat: nis
>>>>       hosts: files dns
>>>>       netgroup: compat
>>>>       networks: files
>>>>       passwd: compat
>>>>
>>>> After migrating to git, I would've expected those to contain
>>>> something
>>>> else or disappear completely. Is this expected and are there any
>>>> plans
>>>> to remove them completely?
>>>
>>> I believe we might eventually remove them in the future, but doing
>>> so
>>> right now would introduce a lot of churn and the conversion to git
>>> had enough other churn going on.
>>>
>>
>> We'd planned on not removing things that might be merged to stable/12
>> since
>> those releases (12.3 only I think) will be built out of svn. We'll
>> likely
>> start to
>> remove things more widely as the stable/12 branch reaches EOL and
>> after.
>>
>> Warner
> 
> It would be really nice if, instead of just deleting the $FreeBSD$
> markers, they could be replaced with the path/filename of the file in
> the source tree.  Sometimes it's a real interesting exercise to figure
> out where a file on your runtime system comes from in the source world.
> All the source tree layout changes that happened for packaged-base
> makes it even more interesting.

My hope is that we un-break src/etc. :(  A few folks have looked at doing
that (notably Kyle).

-- 
John Baldwin


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f9039676-0e87-2409-7ae7-2d85ed291541>