Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 22:19:45 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Ben Woods <woodsb02@gmail.com>
Cc:        "freebsd-pkgbase@freebsd.org" <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>
In-Reply-To: <CAOc73CDGO9ZUa9-J8Xu7UEEfoV_Qqbor5RXumqwiEPxDjpBprQ@mail.gmail.com>
References:  <CAOc73CA==ZWEG_nXrUViV2N4JQV84kQY6%2B9Ssv=bGqiE3i9NsA@mail.gmail.com> <20160527210001.GI4025@FreeBSD.org> <CAOc73CAsbWhR0YnMXfJ=x_3LaTwYANTTYfpt9NDrMD=LoGNGKw@mail.gmail.com> <CAOc73CBNYzGThvj5gvdG%2Bx%2BqnYyR3ttP7y5Cy5NQ7yUcnDaAJw@mail.gmail.com> <20160529175701.GA80759@FreeBSD.org> <CAOc73CDGO9ZUa9-J8Xu7UEEfoV_Qqbor5RXumqwiEPxDjpBprQ@mail.gmail.com>

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

--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--



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