]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
init-radosgw: run RGW as root 4638/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 22 Apr 2015 22:36:42 +0000 (16:36 -0600)
committerNathan Cutler <ncutler@suse.cz>
Sun, 10 May 2015 15:42:07 +0000 (17:42 +0200)
commita71f3091a4ea810c02517642fb4ab9ce5516b452
tree1017bc74e304b73dd3a810bf75176659f7d0c561
parentfcd0ea3383582e7a1dc8091e7a48e1d4bbaa76ee
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)
src/init-radosgw
src/init-radosgw.sysv