Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 14:14:23 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        rgrimes@freebsd.org, "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, John Baldwin <jhb@freebsd.org>
Cc:        Alexey Dokuchaev <danfe@freebsd.org>, Renato Botelho <garga@freebsd.org>, Brad Davis <brd@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r347961 - head
Message-ID:  <AA19A5CD-EB17-4E81-8A27-A912A0804C3D@cschubert.com>
In-Reply-To: <201905222106.x4ML6Idr086719@gndrsh.dnsmgr.net>
References:  <201905222106.x4ML6Idr086719@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 22, 2019 2:06:18 PM PDT, "Rodney W=2E Grimes" <freebsd@gndrsh=2Ednsm=
gr=2Enet> wrote:
>> On 5/22/19 5:48 AM, Alexey Dokuchaev wrote:
>> > On Wed, May 22, 2019 at 09:42:29AM -0300, Renato Botelho wrote:
>> >> On 18/05/19 16:36, Brad Davis wrote:
>> >>> New Revision: 347961
>> >>> URL: https://svnweb=2Efreebsd=2Eorg/changeset/base/347961
>> >>>
>> >>> Log:
>> >>>   Add note to UPDATING for users of mergemaster after the move of
>> >>>   master=2Epasswd and group in r347638=2E
>> >>>  =20
>> >>>   Approved by:	allanjude (mentor)
>> >>>
>> >>> Modified:
>> >>>   head/UPDATING
>> >>>
>> >>> +20190517:
>> >>> +	For users of mergemaster, after recent changes to locations of
>> >>> +	master=2Epasswd and group in the source tree mergemaster needs to
>be
>> >>> +	updated=2E  Before running `mergemaster -p', cd to
>usr=2Esbin/mergemaster
>> >>> +	and run `make install'=2E
>> >>> +
>> >>
>> >> etcupdate is installing group and master=2Epasswd to /lib/libc/gen=
=2E=20
>It
>> >> seems wrong=2E
>> >>
>> >> root@x230:/usr/src # etcupdate -p
>> >>   A /lib/libc/gen/group
>> >>   A /lib/libc/gen/master=2Epasswd
>> >=20
>> > *facepalm*
>> >=20
>> > Let me ask again: why these files were moved out of their perfectly
>> > (and likely the only) reasonable location (etc/) under some cryptic
>> > libc/gen/ which not only makes little sense per se, but also breaks
>> > mergemaster(8) and similar tools?
>>=20
>> Because bmake doesn't support =2EPATH?  Oh wait=2E=2E=2E
>
>I spoke long ago when this whole "rip etc/ apart" started, and objected
>repeatedly and was shot down=2E  I even asked for a "complete plan" and
>was more or less told this is by design of pkg base=2E
>
>Let me speak to "by design", the BSD source tree is, by design, to
>reflect the installed location of a file with very rare exception
>to that design=2E  The =2Emk system by design is written with this
>assumption in mind as well=2E  The above artifact is by that design=2E
>
>Attempts to alter such by design behavior has problems, some of
>which are now, repeatedly showing there ugly head=2E
>
>=2EPATH could of easily been used,
>as well as cd ${SRCTOP}/etc && make FOOCONF
>to implement exactly what was done without ANY file moves=2E
>Oh, wait that was pointed out, I belive twice, maybe 3 times,
>and by some experts on the =2Emk system as well=2E
>
>sjg (bmake maintainr) and bdrewery (one of our =2Emk system experts)
>have both pushed back on these changes=2E
>
>Good luck with supporting this so not by design package system
>if it requires this to be operable=2E  Also good luck maintaining
>any of the ${DESTDIR}/etc files as now no one knows how to
>find them in the source tree=2E
>
>> John Baldwin

I couldn't have said this better, my sentiments exactly=2E


--=20
Pardon the typos and autocorrect, small keyboard in use=2E
Cheers,
Cy Schubert <Cy=2ESchubert@cschubert=2Ecom>
FreeBSD UNIX: <cy@FreeBSD=2Eorg> Web: http://www=2EFreeBSD=2Eorg

	The need of the many outweighs the greed of the few=2E



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AA19A5CD-EB17-4E81-8A27-A912A0804C3D>