From owner-freebsd-pkgbase@freebsd.org Sun May 29 22:19:46 2016 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 57104B543C6 for ; Sun, 29 May 2016 22:19:46 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3BBA5110F; Sun, 29 May 2016 22:19:46 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id F05B013EC; Sun, 29 May 2016 22:19:45 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Sun, 29 May 2016 22:19:45 +0000 From: Glen Barber To: Ben Woods Cc: "freebsd-pkgbase@freebsd.org" Subject: Re: /etc/rc.d/zfs and /etc/rc.d/zvol no longer in FreeBSD-runtime package? Message-ID: <20160529221945.GE80759@FreeBSD.org> References: <20160527210001.GI4025@FreeBSD.org> <20160529175701.GA80759@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Uwl7UQhJk99r8jnw" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 22:19:46 -0000 --Uwl7UQhJk99r8jnw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 30, 2016 at 12:13:58AM +0200, Ben Woods wrote: > Actually, this was a different issue, but I have worked out the problem. = It > relates to r299840. > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D299840 >=20 I didn't notice this change, thank you for tracking it down. > Basically, r299840 introduced a new FreeBSD-zfs package, which I did not > have installed. So when I did a pkg upgrade, it upgraded FreeBSD-runtime > and removed this files which were now split off into the new FreeBSD-zfs > package. Obviously, since I did not have the new FreeBSD-zfs package > previously installed, the files were not installed under this new package. >=20 > The fix is simple: pkg install FreeBSD-zfs >=20 Yeah, but until you realize what new package is needed, it is a bit non-intuitive. (This is one of the main reasons we're considering packaged base "beta" for 11.0-RELEASE.) > However, it does raise the point that whenever a new base pkg is created, > how should users be informed? Should pkg provide a warning that some files > have been moved to a newer package that isnt being installed, or should it > be a note in UPDATING? >=20 This is a good question. I'm not sure what the answer here is, to be honest. But you raise a very good, and very serious concern. What I think we should do is something along the lines of the MOVED file in the ports tree. But doing this on a per-file level does not quite scale very well. My fear here is ending up with something that resembles OptionalObsoleteFiles.inc. In the meantime, would you mind adding this particular issue (not the FreeBSD-zfs package, but the underlying problem) to the PkgBase wiki page? Glen --Uwl7UQhJk99r8jnw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXS2sAAAoJEAMUWKVHj+KTEBoP/1R47Rm+7ixLtJLD4X3+Zjmb UqKiSe1pStaQ+seEK/A1y/3eb0RTNfjWi1YlaQoYGNff06eN8/sy02f49TtluS55 WtTmPbrdVtth1Nezc45AfcVoUyTRyTwASK2agWe6nhzKYZJDTWxGVOD5FARzVvLA 4JslRjt3/UbuN/slyq+8rMNuif2WhbtgeOrhZunYQaaS9YwurYWxAbbfJuZy7Ozg OyrDKLw6+TH1G1jYtbsCp5AIl76rsK54+XZzYOxiQKX+LgxT6tucYAtVpQKPPjFJ hcsy5E16dNo9PzWCKebSL67E1qX38d+dWQznTi+190ULXZ7xSHLBHFX078RWccNw cISXEdpKnapKNgZqrEV1I8ntXNWD79yCt1RVXXzqcD6T/u8xgOOzCmYlo5a40uMD RguM6f+XxO1Bg3JMfLVet2ayFUujJE6sT7DcyHucboO0UZszIJhtFedA+d3xM239 31T+P0LEVcWh7dWttfsByrmo1c/UNwaq/3DFqlFgQvHyseA+ot1zDWsPgFdP6E9O gCS0oTZbBifpaSDqybwQ2p3wR+KQSvy1xeMgBo2jadM17c0R4oLSKW/M0Cis/EG+ sthMmped21jHoCQFTUlucyxNTZo2qHxqWleUk5H43YlHvtM4S7e0TJSt5ZOm4n8J 0+TKRg6M7+nx1CzWu9th =72qB -----END PGP SIGNATURE----- --Uwl7UQhJk99r8jnw--