Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
04c41ff3
Commit
04c41ff3
authored
Sep 16, 2014
by
Filippos Giannakos
Browse files
docs: Update debian install guide
Add Archipelago-imposed limitation to run gunicorn workers as root.
parent
822313d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/install-guide-debian.rst
View file @
04c41ff3
...
...
@@ -1228,6 +1228,23 @@ like this:
),
}
As
of
version
0.16
Pithos
is
backed
by
Archipelago
.
Pithos
integrates
with
Archipelago
via
a
shared
memory
segment
that
is
used
to
communicate
with
the
various
Archipelago
components
.
For
more
information
regarding
the
Archipelago
internal
architecture
consult
with
the
`
Archipelago
administrator
's guide
<https://www.synnefo.org/docs/archipelago/latest/admin-guide.html>`_
At the moment, Archipelago runs with root permissions. To enable Pithos
integration with Archipelago, the Pithos gunicorn process needs elevated
permissions too. Otherwise, Pithos will fail to join the shared memory segment.
So, the default ``www-data`` user/group configuration of the gunicorn worker
will not work. You should change the corresponding values on
``/etc/gunicorn.d/synnefo`` to ``root``.
Please note that the above limitation will be lifted on the next version of
Archipelago.
Stamp Database Revision
-----------------------
...
...
@@ -2154,6 +2171,17 @@ Both files should be readable by the `vncauthproxy` user or group.
We
have
now
finished
with
the
basic
Cyclades
configuration
.
Gunicorn
worker
---------------
Cyclades
uses
Pithos
backend
library
to
access
and
store
system
and
user
-
provided
images
and
snapshots
.
As
stated
on
the
Pithos
gunicorn
configuration
,
currently
the
gunicorn
worker
that
integrates
with
Pithos
and
as
a
result
with
Archipelago
must
run
as
``
root
``.
You
must
change
the
default
``
www
-
data
``
user
/
group
configuration
of
the
gunicorn
worker
config
to
``
root
``.
The
config
file
should
be
located
at
``/
etc
/
gunicorn
.
d
/
synnefo
``.
Database
Initialization
-----------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment