Hash: SHA1

S.Hayles wrote:
> On Fri, 14 Oct 2005, Chris Withers wrote:
>> Steven Hayles wrote:
>>> AFAICS the directives zserver-read-only-mode and read-only-database
>>> just set the environment value ZOPE_READ_ONLY and no change in ZOPE's
>>> operation results. Am I right? This is ZOPE 2.7.7
>> Not really sure what you're asking?
>> Did you try these and find they made no difference?
> Yes, and I've looked at the code and can't see any way they can make a
> difference.
> Wondered whether anyone else knew anything about these directives (old
> or future functionality?) and whether I was right in thinking they
> didn't do anything. If they really don't and are never intended to do
> anything, then they should at least have comments to that effect, and
> ideally be removed.

Setting the environment variable no longer has any effect, but the
presence of the configuration is checked by the code which sets up
zservers:  if set, those servers to not create / write log or PID files.

The environment variable *is* a fossil, whose former effects are now
spelled out via configuration directives for the storage itself.  We
should remove the code which sets the environment variable, and update
any docs which pretend that it is still effective.  Please file a
collector issue for this.

- --
Tres Seaver          +1 202-558-7113          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to