[Pkg-zope-developers] testing zope2.7
A Mennucc
debdev at mennucci.sns.it
Thu Sep 8 16:42:35 UTC 2005
hi everybody
I tested zope2.7 2.7.7-4 from experimental today ;
here are my comments
***) if there is no instance, the sarge version of /etc/init.d/zope2.7
suggests to use mkzope2.7instance ; this I added in response to a bug ;
this is lost in experimental
***) similarly we should check that the exp version do not have other
regressions wrt bugs
I have indeed found that 2.7.7-4 is affected by bug 313644 , indeed :
# ls -l inituser
-rw-r--r-- 1 root root 40 2005-09-08 18:09 inituser
And 2.7.7-4 is affected by bug 313621 indeed
# umask 027
# /usr/sbin/dzhandle -z 2.7 make-instance --addon-mode all /tmp/umasked
.....
# ls -lad /tmp/umasked
drwxr-x--- 7 root root 4096 2005-09-08 18:33 umasked/
I have sent proper 'found' commands to the BTS.
We should then also check other bugs.
***) there is no README.Debian in the zope2.7 package.
This is bad since there are a lot of things that are not so easy to guess.
We should symlink the README.Debian of zope-common in zope2.7 and 2.8 and
zope3
***) this zope does not contain the script mkzope2.7instance .
This is bad since this is present in zope2.7 in sarge so
people may expect it to be there .
We (=I) should create a placeholder script that calls dzhandle
(I have some good ideas)
***) dzhandle does not permit the avg user (=not root) to create an instance:
layuser $ /usr/sbin/dzhandle -z 2.7 make-instance --addon-mode all /tmp/pippo
........
File "/usr/lib/python2.3/shutil.py", line 102, in copytree
os.mkdir(dst)
OSError: [Errno 13] Permission denied: '/etc/zope2.7/pippo'
(whereas mkzope2.7instance did allow that -- it was nice to test
products -- I would just create an instance in /tmp and run it and
then destroy it).
This is easily solvable, by not putting /etc/zope2.7/$instance in /etc
but rather in $instance/etc
(that now is a symlink to /etc/zope2.7/$instance )
when the user using dzhandle is not root.
Of course, when a avg user creates an instance, all questions regarding
"restarting mode" are useless and should be avoided; and similarly,
all products installed after the instance is created will not be
automatically added, until the user calls 'dzhandle add-product' manually.
***) [minor issue] dzhandle has 'options' and 'action options' and
when I tried to run :
$ /usr/sbin/dzhandle -z 2.7 --addon-mode all make-instance /tmp/pippo
dzhandle: error: no such option: --addon-mode
I was quite puzzled and I had to reread the man page 3 times to understand.
(The above is a bit fascist, btw, since the 'action options' do not
clash with the 'options' ).
At least, we should add a line to that error, such as
"put action-options after the action name, please"
***) the templates of zope-common contain a lot of questions regarding
the creation of an instance, that are not used by zope-common.
What are they for?
-------------------
I did not yet test the product management system of dzhandle
a.
--
Andrea Mennucc
"E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20050908/c88d4251/attachment.pgp
More information about the Pkg-zope-developers
mailing list