[Pkg-zope-developers] Bug#354941: zope3-sandbox: problem seems caused by default values; suggest fixing

Fabio Tranchitella kobold at debian.org
Wed Mar 29 08:12:59 UTC 2006


Hi Ross,

Il giorno dom, 26/03/2006 alle 12.31 -0800, Ross Boylan ha scritto:
> Package: zope3-sandbox
> Version: 3.2.0-4
> Followup-For: Bug #354941
> 
> I ran into this too, and suggest reopening this bug for several reasons:
>
> 1. The problematic setting appears to be the default value.  Earlier
> in this bug report you suggest that the submitter had set the value,
> but if I understand the following output (the lack of a *), it means I
> had abort from the default installation:

This is the safest behaviour possible: you are *creating* a *new* zope3
instance called sandbox, it already exists on the filesystem but it does
not contain data. The default choice *has to be* to abort the
installation of the package *-sandbox, or you'll loose your old instance
without even being warned about this. Note that if you are using ZEO,
your instance won't contain any data and this doesn't mean that it's a
broken instance.

By the way, the only (standard) reason to have an old sandbox instance
is a broken installation of the package (or a manually created one).

> 2. Regardless of the source of the setting for
> remove-instance-without-data, the current behavior for abort is
> cryptic, providing little information about what is going on and none
> about how to fix it.

I agree with you, I'll improve the error message before the abort.
I can do this even if the bug report is closed, but if you care you
could re-open it.

> I had some trouble figuring out how to fix the problem even once I
> knew what it was.  For example, dpkg-reconfigure did not work:

You could just `rm -fr /var/lib/zope3/instance/sandbox`.

> I should note that before all this I had some problems with the
> sandbox installation, though I'm not sure if that was with Zope 3 or
> an earlier one.

It was zope3, see above.

> I'm also not entirely sure what the remove-instance-without-data
> setting does, or what its implications are.  Doesn't every instance
> have data?

No, if you are using ZEO your instance will not contain any data, just
configurations and maybe some source packages. Nothing broken, just no
data.

Thanks for your suggestion,

-- 
Fabio Tranchitella <kobold at debian.org>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20060329/bed8e10c/attachment.pgp


More information about the Pkg-zope-developers mailing list