This RFE is critical to our upcoming Update Center release.
Tom Mueller and I are investigating possible solutions for this,
and Tom has updated the bug with some considerations and options.
We'd like to get feedback on the proposal.

See Comment 5 on:

http://defect.opensolaris.org/bz/show_bug.cgi?id=2340

Our inclination is to go with Option (d):

d) Store disabled authorities in another file, such as cfg_cache_inactive.

The benefit to this option is that disabled authorities would be
completely ignored by older code. This is important for our use of IPS
where we can have situations where an older version of IPS is operating
on newer user images.

Other details on the proposed change:

set-authority / unset-authority subcommands
-------------------------------------------
May be used on disabled authorities.

New options: --enable and --disable are supported by "set-authority"
to change the state of an authority.

You may not disable the preferred authority.

You may not set a disabled authority to be preferred unless you
are also enabling it (i.e. "-P --enable").


authority subcommand
--------------------
Lists only active authorities by default.

New option: -a lists all authorities including disabled.

Disabled authorities have "(disabled)" next to their name (similar
to how the preferred authority is indicated).

If a disabled authority is passed by name to "authority", it lists it
even without the -a option.


Other
-----
In general all other operations ignore disabled authorities. For example:

"refresh" only refreshes catalogs for enabled authorities

Package installation only looks for packages in enabled authorities.
This means that the catalog cache maintained by Image does not contain
packages from disabled authorities.

"list -a" does not list packages from the catalogs of disabled
authorities.


Thoughts?

Joe
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to