[Kimchi-devel] [PATCH v4 0/3] Github #329: Kimchi must not run as root
Daniel Barboza
danielhb at linux.vnet.ibm.com
Tue Apr 15 20:20:13 UTC 2014
From: Daniel Henrique Barboza <danielhb at linux.vnet.ibm.com>
Changes from last version:
- added a new module with all nginx-related methods
- added DEBIAN entries
- other fixes proposed by Aline
After reading the comments from Zhou Zheng Sheng, I simplified
the work I did in version 2 to run only one cherrypy process
instead of two processes, one for frontend and another for the
backend. Nginx is still being used as a reverse proxy to allow
kimchid to run as root, but not being exposed to the outside.
As Zhou mentioned, it is to little avail to run frontend and
backend separately if the exposed port is running by the
reverse proxy anyway. He mentioned the RPC approach as a best
long-term approach, which I agree. We can solve this issue right
now and the work in a more suitable solution, such as RPC, and
then ditch nginx.
Daniel Henrique Barboza (3):
Github #329: Proxy module and template file
Github #329: Kimchid, config.py.in and server.py changes
Github #329: .gitignore, spec, control.in and readme
.gitignore | 1 +
contrib/DEBIAN/control.in | 3 +-
contrib/kimchi.spec.fedora.in | 2 ++
contrib/kimchi.spec.suse.in | 2 ++
docs/README.md | 4 +--
src/Makefile.am | 3 +-
src/kimchi/config.py.in | 6 ++--
src/kimchi/proxy.py | 80 +++++++++++++++++++++++++++++++++++++++++++
src/kimchi/server.py | 4 +++
src/kimchid.in | 51 +++++++++++++++++++++------
src/nginx.conf.in | 55 +++++++++++++++++++++++++++++
11 files changed, 195 insertions(+), 16 deletions(-)
create mode 100644 src/kimchi/proxy.py
create mode 100644 src/nginx.conf.in
--
1.8.3.1
More information about the Kimchi-devel
mailing list