]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix radosgw start-up script.
authorVikhyat Umrao <vumrao@redhat.com>
Thu, 23 Jul 2015 12:40:06 +0000 (18:10 +0530)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 23 Sep 2015 20:37:39 +0000 (14:37 -0600)
commit86e631b9bad1c97063ea9fc987bcd97593cdf99b
treec88c08106b0a8b7a523e6a5b163f58aa9dc38196
parentb0ca077cb735df66cf39689c4a042a6b3536a262
rgw: fix radosgw start-up script.

radosgw init script is unable to start radosgw daemon.
as it is relies on requiretty being disabled.
once init script start this daemon with sudo it fails
to start the daemon.

changing 'sudo' to 'su', it will fix this issue and
will also help running radosgw daemon with our new
"ceph" UID project.

Fixes upstream: #10927
Fixes downstream: #1238521

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit c83542296aeb8f5dd96f5d9e09327e7a89370742)
src/init-radosgw