[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [zope] 2.5.1 for woody



Marcus Schopen wrote:
Hi,

Luca - De Whiskey's - De Vitis wrote:

Hi,
I've built a 2.5.1 package for stable (see #196590), but i need testers:

http://people.debian.org/~luca

Any volunteer?


here's my buglist:

1)

Installation works fine on woody, but starting zope stops with this error:

usr/sbin/zope-z2: line 216: syntax error near unexpected token `sys.path.insert(0,' /usr/sbin/zope-z2: line 216: ` sys.path.insert(0, '%s/lib/python' % swhome)'

I patched zopectl like this to fix it:

debian:/home/schoppa/test# more zopectl.diff
22,24d21
< export INSTANCE_HOME
< export ZOPE_HOME
<
44a42
> export INSTANCE_HOME
108c106
<     exec /usr/bin/python $ZOPE_HOME/z2.py $@
---
>     /usr/sbin/zope-z2 $@



(z2 is a pyhton script, but zopectl handles it like the new z2 shell script)


2)

Zope is running on squid port 8080, not on debian zope port (9....)


3)

Packing Data.fs ends up with this error:

Error Type: IOError
Error Value: [Errno 13] Permission denied: '/var/lib/zope/var/Data.fs'

It's a forgotten SETUID (running as root/nobody) setup. You may add something like this to postinst:

chmod o+t /var/lib/zope/var
chmod g+w /var/lib/zope/var
chown root:root /var/lib/zope/var

or run zope as a non priv user.


4)

Startscript does not come back when on debug level


My wine is empty :-/ I go to bed now ...

keep zoped,
Marcus


--
Marcus Schopen        (0>
P.O. Box 10 25 25     //\     Deutsche Zope User Group
D-33525 Bielefeld     V_/_                www.dzug.org




Reply to: