diff options
author | Ken Dreyer <kdreyer@redhat.com> | 2015-04-22 16:36:42 -0600 |
---|---|---|
committer | Ken Dreyer <kdreyer@redhat.com> | 2015-04-24 16:59:28 -0600 |
commit | 235e5556ddfde5114a79e54f061ea4accd613fc5 (patch) | |
tree | 51292124834362b36600928b4cac71638587b7ed | |
parent | 85faf5fd5b557f826dad8914f5c1751ff1658375 (diff) | |
download | ceph-235e5556ddfde5114a79e54f061ea4accd613fc5.tar.gz |
init-radosgw: run RGW as root
The ceph-radosgw service fails to start if the httpd package is not
installed. This is because the init.d file attempts to start the RGW
process with the "apache" UID. If a user is running civetweb, there is
no reason for the httpd or apache2 package to be present on the system.
Switch the init scripts to use "root" as is done on Ubuntu.
http://tracker.ceph.com/issues/11453 Refs: #11453
Reported-by: Vickey Singh <vickey.singh22693@gmail.com>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit 47339c5ac352d305e68a58f3d744c3ce0fd3a2ac)
-rw-r--r-- | src/init-radosgw | 2 | ||||
-rw-r--r-- | src/init-radosgw.sysv | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/init-radosgw b/src/init-radosgw index 8e8a5396619..914d6fddcc1 100644 --- a/src/init-radosgw +++ b/src/init-radosgw @@ -35,7 +35,7 @@ done PREFIX='client.radosgw.' # user to run radosgw as (it not specified in ceph.conf) -DEFAULT_USER='www-data' +DEFAULT_USER='root' RADOSGW=`which radosgw` if [ ! -x "$RADOSGW" ]; then diff --git a/src/init-radosgw.sysv b/src/init-radosgw.sysv index f4eda14e90f..4ec891ecdd6 100644 --- a/src/init-radosgw.sysv +++ b/src/init-radosgw.sysv @@ -37,7 +37,7 @@ PREFIX='client.radosgw.' # user to run radosgw as (it not specified in ceph.conf) #DEFAULT_USER='www-data' -DEFAULT_USER='apache' +DEFAULT_USER='root' RADOSGW=`which radosgw` if [ ! -x "$RADOSGW" ]; then |