]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
init-radosgw: run RGW as root 4439/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 22 Apr 2015 22:36:42 +0000 (16:36 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 23 Apr 2015 21:29:38 +0000 (15:29 -0600)
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>
src/init-radosgw
src/init-radosgw.sysv

index 02d543c84b2384735727f1a2992ebbc017d8c151..7af51efd51bf46a86b12b12621137a76bf942e3d 100644 (file)
@@ -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
index c42eeee9d64cb4ba7f72fc72d83b2feddd5f6cb7..5e54c7823bcab0ab474acb5b6a78c5093175d607 100644 (file)
@@ -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