From owner-freebsd-pkgbase@freebsd.org Fri Aug 11 14:09:41 2017 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 783BCDD1131 for ; Fri, 11 Aug 2017 14:09:41 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5139D735AA; Fri, 11 Aug 2017 14:09:41 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 657DD137FE; Fri, 11 Aug 2017 14:09:40 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Fri, 11 Aug 2017 14:09:38 +0000 From: Glen Barber To: Baptiste Daroussin Cc: Matthew Seaman , freebsd-pkgbase@freebsd.org Subject: Re: pkgbase update and progress Message-ID: <20170811140938.GE82820@FreeBSD.org> References: <20170810140615.GD63224@FreeBSD.org> <1218488026.1377609.1502378299872.JavaMail.zimbra@ixsystems.com> <20170810152151.GB82820@FreeBSD.org> <20170811140019.h2elquhljvhuwopo@ivaldir.net> <20170811140229.xmxupgjbrcfpoztd@ivaldir.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RpqchZ26BWispMcB" Content-Disposition: inline In-Reply-To: <20170811140229.xmxupgjbrcfpoztd@ivaldir.net> X-Operating-System: FreeBSD 11.0-STABLE amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer X-Spidey-Sense: Uh oh, Peter logged in User-Agent: Mutt/1.8.2 (2017-04-18) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 14:09:41 -0000 --RpqchZ26BWispMcB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 11, 2017 at 04:02:29PM +0200, Baptiste Daroussin wrote: > On Fri, Aug 11, 2017 at 04:00:20PM +0200, Baptiste Daroussin wrote: > > On Thu, Aug 10, 2017 at 04:34:58PM +0100, Matthew Seaman wrote: > > > On 10/08/2017 16:21, Glen Barber wrote: > > > >> * Since we have no mechanism of properly merging changes to /etc > > > >> we simply copy files as needed with pc-updatemanager, and it is > > > >> difficult to maintain what should be updated, merged, or removed. > > > >> > > > > This is another long-standing item in the list of things to fix, in= deed. > > >=20 > > > The idea floated at BSDCam was to have a package that would install a > > > pristine copy of the /etc files under /var/db/etcupdate and prompt the > > > user to then use that tool to update or install their configs. That > > > should provide a nice compromise between having the files available f= rom > > > pkgs and not enforcing a specific mechanism (tools, not policy) to > > > update /etc. > > >=20 > > Why we do not stick with what was discussed before? > >=20 > > pkg know how to do 3 way merge and is configurable not to break anythin= g. > > The only thing that is needed is to prepend the plist entry with an @co= nfig > > That's all. > >=20 > > Why do we need something else? >=20 > Should have read the entire thread before replying. >=20 > If you decide to go that direction tell me I will rip out the 3way merge = code > from pkg... >=20 I do not think it is necessary to rip out the code. It may be needed at some point. Just my $0.02 USD. Glen --RpqchZ26BWispMcB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAlmNuqIACgkQAxRYpUeP 4pNJ/RAAncDLnZsbZZKuUH3ZqzZM2M9o3qFfebUxOVQSivnHJNIbJrZnfDYjcTKO PvklA7y7Dx39S6Kik7PJOwjSrxi3/WxmvIKA4ulV+glswV3A4ntrJSwDKvXcnofa g1QNsiqvd6zCL4tF6EWPeaH2y0sZ4glVQ6WbDyn3pK7BnosyCwKTzma6M8K8GXb4 hdfwMmkgaQyT4ciicfxyLac6yHqvDOIZ31zLugzQaDBsKsLg6NNDrD3Kh0QmiMS9 DoTo5nSVOwLYK5n3D/Ufw//PYUovXUCuwGioylImC+6Ty0zC5HAd8HKFXZjJC3X6 HsYWBn5wlbJ4H5KEhpU5uYucvBvQafF28DK6Y2CZceAdqMUAE78lzZGglVt3Edmh 9Sj8NnAZzRlHb7u7E+WeOuEt4EMcWCLJCMY/wlYKB2+H5xqk9YNj0AbGQ0h596BN 9kZ7pfvEdsAYD2iwkZFTeEDgQgDECR6dqVTxsmY4Wz62p4GEILyMyfGIKgrOLVqY ACLVWTzOkgNql65nVo9owWjl3Cvff6k7Y5EDIVON++ApHj1NG+1Lk6H+rgIK43+o 52kCkS4VTCSDTnOTUtzZScBjo+gCgZ+0nBxL3YoTPQwzYWACUm2FTxwW8EX8LYXo BkBJ7A5kDssYBwtTgKqTZgjvAZUCFt+whoDzd58wA3Oyq+BEgZU= =tsnD -----END PGP SIGNATURE----- --RpqchZ26BWispMcB--