Comment 4 for bug 1040901

Revision history for this message
Georges Racinet (gracinet) wrote :

@ccomb: thanks for confirmation. About sharing between gunicorn processes, it's the same as it's done in the main wsgi handler (see #1035214) make the name of that temporary directory depend on system user information.

By the way, a clean workaround is to use the TMPDIR environment variable (see http://docs.python.org/library/tempfile.html) in the launching process (e.g from supervisor)

@odony: we have found so far only two problems with multi-system user environments, both being very simple to fix. We can definitely help supporting this cases. The other problem (#1035214) is minor relative to this one and even demonstrates that in a recent past, OpenERP did care about multi-system user concerns.

Use-cases for OpenERP running on a system on which it had at least previously run with another system user go far beyond hosting. For instance, a developer may want to run OpenERP installed from the official .deb package, and then from a custom built. I came accross the issue because I sometimes run some tests under a different system user on my workstation.