On Mon, Jun 15, 2009 at 11:35:13AM -0600, Evan Layton wrote:

> Danek Duvall wrote:
>> Using the version of "entire" to detect a version mismatch isn't
>> particularly supportable, as the package itself may disappear as we settle
>> on a plan to get consolidations publishing pkg(5) packages natively.  What
>
> This is what you, Ethan and I had discussed while I was out there in Menlo 
> Park the week before last. I had thought that what you had suggested was 
> that for now we use entire but going forward we would need support from IPS 
> to give us the version similar to what we can get from '"entire" today.

So on further reflection I think just using the list of package versions as
the comparison will be as good a check as any other.  In some cases it may
be overly restrictive, but in time, we hope to greatly reduce, if not
eliminate that.

>> I would suggest instead is to ensure that the list of package versions in
>> the AI image is a subset of the package versions in the catalog of the
>> repository (or repositories) you're installing from.  If you're feeling
>> exceptionally paranoid, you can check that the manifests of those packages
>> are identical.
>
> While we could do this it seams like a lot of checking that should really 
> be done by IPS for us. If IPS is not going to give us something similar to 
> what we can get from the "entire" package now then we'll need IPS to give 
> us another way to determine this information. When that information is 
> available we'll switchover to using that instead of "entire"

We'll likely need to give you something for the paranoid check, but the
package version list is something you can likely do now.

>> Otherwise, it seems like a lot of support for a condition that you're not
>> technically supporting ...
>
> I'm not sure what's meant by support here. We have to have a way of 
> determining the version and returning that information back to the user.

I mean support for "leaving the reservation" and installing a version of
the OS that doesn't match what you've booted.  There's no other reason to
have the zfs version marked anywhere, for instance.

Danek

Reply via email to