Our man page for pkg.depotd currently states that:

      --readonly                 Modifying operations, such as those
                                 initiated by pkgsend(1M) are disabled.
                                 Retrieval operations are still
                                 available.

To me, that would *not* include things such as:

* Rebuilding indexes
* Updating configuration information
* Generating the RSS feed cache

In short, I consider readonly to only be a restriction of publishing 
APIs and not of other, expected depot operations.

Examples:
* The RSS feed, for efficiency (and other reasons), depends upon the 
ability to generate a cache of the feed it generates the first time the 
feed is requested.  It creates a feed.xml file in the inst_dir of the depot.

* Restricting configuration changes would be especially problematic as 
those are intended to be exposed via SMF, and as such, values are 
expected to change in the cfg_cache during the startup phase to reflect 
the new values in SMF.

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

Reply via email to