From: Simon Huebner <simon.huebner@is...> - 2011-04-13 12:31:45
my shinken installation crash with:
error: could not create '/etc/shinken': Permission denied
I try to install shinken as user shinken with a virtualenv python:
This is the content of my setup.cfg file:
I start the installation with:
/srv/shinken/python/bin/python setup.py install --install-scripts
In my opinion setup.py use the etc-path/var-path/plugins-path set in
setup.cfg for installation.
Why he tries to create /etc/shinken?
Thanks a lot,
Simon Huebner, B.Sc.
Commercial and technical Services
Fraunhofer-Institut für Solare Energiesysteme ISE
Heidenhofstrasse 2, 79110 Freiburg, Germany
Phone: +49(0)761/4588-5695 Fax: +49(0)761/4588-9123
On Wed, Apr 13, 2011 at 1:56 PM, Simon Huebner <
> Hello everyone,
I think you should try with adding --root /srv/shinken/current/
If I'm not very sure setp.cfg path are managed like it should with something
else than a /, so you can try the --root, it's done for packagers, but it
should work for what you are trying to do.
By the way, you are not the only one to got problem with setup.py. Some
people ask me if we can switch to a configure/make way. Maybe we should look
at it, because the current setup.py is very complex and quite hard to
manage. But I'm not a fan of .in file (cannot direct launch, so will break
tests, it's not good), so if someone got a solution for this, we can look at
> Thanks a lot,
You're welcome :)
> Simon Huebner, B.Sc.
> Commercial and technical Services
> Fraunhofer-Institut für Solare Energiesysteme ISE
> Heidenhofstrasse 2, 79110 Freiburg, Germany
> Phone: +49(0)761/4588-5695 Fax: +49(0)761/4588-9123