Session directory does not detect proper user
Bug #1172306 reported by
Niels Huylebroeck
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
OpenERP Publisher's Warranty Team | ||
OpenERP Community Backports (Web) |
New
|
Undecided
|
Unassigned | ||
6.1 |
Fix Committed
|
Undecided
|
Stefan Rijnhart (Opener) |
Bug Description
When using start-stop-daemon with -c / --user option the current user detection method would think it was still running as root, which would create a session directory called oe-sessions-root with permissions for the actual posix user.
When running multiple instances of openerp each would try to create/use this directory '/tmp/oe-
Related branches
lp://staging/~openerp-dev/openerp-web/7.0-opw-591873-msh
- Christophe Simonis (OpenERP): Needs Fixing
- Xavier (Open ERP): Pending requested
-
Diff: 20 lines (+7/-3)1 file modifiedaddons/web/http.py (+7/-3)
lp://staging/~therp-nl/ocb-web/6.1-lp1172306-session_directory_username
- Guewen Baconnier @ Camptocamp: Approve
- Holger Brunn (Therp): Approve (code review)
-
Diff: 20 lines (+7/-3)1 file modifiedaddons/web/__init__.py (+7/-3)
Changed in openerp-web: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
no longer affects: | ocb-web/7.0 |
To post a comment you must log in.
There was a launchpad question about this which has some conclusions, just linking it here for reference : https:/ /answers. launchpad. net/openobject- server/ +question/ 196552