Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32073 - ZODB (Zope) packing requires to twick folder ownership
Summary: ZODB (Zope) packing requires to twick folder ownership
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-26 17:07 UTC by Axxackall
Modified: 2003-10-30 06:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axxackall 2003-10-26 17:07:41 UTC
Packing of ZODB requires temporary to change ownership of
/var/lib/zope/zope-2_6_1/var from zope to root.
However, the Zserver won't start if that folder belongs to zope rather than root.

Reproducible: Always
Steps to Reproduce:
1. go to ZMI
2. pack ZODB and see that it fails
3. chown zope /var/lib/zope/zope-2_6_1/var
4. pack ZODB again and see that it packs successfully now.
5. still in ZODB, restart the server (or from CLI) and see it doesn't restart.
6. chown root /var/lib/zope/zope-2_6_1/var
7. /etc/init.d/zope-2_6_1 restart and see that now it's restarted successfully


Actual Results:  
As for now packing and restarting require different (and mutually exclusive!)
ownership of /var/lib/zope/zope-2_6_1/var

Expected Results:  
packing and restarting should work being called from inside ZMI without any
twicking filesystem permission/ownership

# emerge -pv zope
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild   R   ] net-zope/zope-2.6.1
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-30 06:53:36 UTC
fixed in dev-zope/zope-2.6.2
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-30 06:53:59 UTC
(just add zope to the zop_2_6_2 group)