Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2002 12:07:04 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc:        Kris Kennaway <kris@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/lib plist.c
Message-ID:  <20020901190704.GA21494@xor.obsecurity.org>
In-Reply-To: <20020901061408.GA12651@vega.vega.com>
References:  <200208312021.g7VKLlhh009121@freefall.freebsd.org> <20020901061408.GA12651@vega.vega.com>

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

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 01, 2002 at 09:14:08AM +0300, Maxim Sobolev wrote:
> On Sat, Aug 31, 2002 at 01:21:47PM -0700, Kris Kennaway wrote:
> > kris        2002/08/31 13:21:47 PDT
> >=20
> >   Modified files:
> >     usr.sbin/pkg_install/lib plist.c=20
> >   Log:
> >   Don't treat unknown commands as fatal errors: they are probably just
> >   the signature of out-of-date pkg_tools and newer packages.
>=20
> I don't really think that we need something like that. Older
> versions of pkg_tools should be protected from the new packages
> with unknown commands by the `packing list format version'
> (see pkg_install/lib/version.c).=20

The problem I'm trying to guard against is people with old pkg_tools
downloading new packages from the FTP site and being unable to use
them because of a new command introduced in the package.  Chances are
the pkg_tools can safely ignore this command and proceed with what it
knows about.

In other words, extensions to the command set should not be fatal;
revisions to the command set which break backwards compatibility
should be fatal (and this is achieved by bumping the version)

Kris

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9cmVXWry0BWjoQKURAiEMAKCvO3fDjbMvigB8nmTQaShqlreTzgCePnUk
sVm/sE2eUh1ZhBlbWzrWgUs=
=pJFd
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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