plone / plone.recipe.zope2instance

zc.buildout recipe to setup and configure a Zope 2 instance.
https://pypi.org/project/plone.recipe.zope2instance
7 stars 23 forks source link

zdsock created in buildout root leads to permission problems. #84

Closed jensens closed 5 years ago

jensens commented 5 years ago

After creating a dockerized setup for Plone 5.2rc1/py3.7 I found the zdsock was created no longer in CLIENTHOME (so by default in var/instance) but in the buildout root (or on docker in the system root, which not works out).

I found all is set correctly to clienthome in https://github.com/plone/plone.recipe.zope2instance/blob/master/src/plone/recipe/zope2instance/ctl.py#L146

But as zdaemon reads the value here https://github.com/plone/plone.recipe.zope2instance/blob/master/src/plone/recipe/zope2instance/ctl.py#L146 it points to the buildout directory root.

For some reason the first-set value was ignored.

jensens commented 5 years ago

sorry for the noise, my source checkout was not active, so its fixed already on master. tested with coredev.