Bug 1214518 - rgw attempts to start using "apache" UID
Summary: rgw attempts to start using "apache" UID
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Build
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 1.3.0
Assignee: Ken Dreyer (Red Hat)
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1209975
TreeView+ depends on / blocked
 
Reported: 2015-04-22 22:33 UTC by Ken Dreyer (Red Hat)
Modified: 2022-02-21 18:30 UTC (History)
3 users (show)

Fixed In Version: ceph-0.94.1-6.el7cp
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1214823 (view as bug list)
Environment:
Last Closed: 2015-06-24 15:52:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 11453 0 None None None Never
Red Hat Issue Tracker RHCEPH-3442 0 None None None 2022-02-21 18:30:03 UTC
Red Hat Product Errata RHBA-2015:1183 0 normal SHIPPED_LIVE Ceph bug fix and enhancement update 2015-06-24 19:49:46 UTC

Description Ken Dreyer (Red Hat) 2015-04-22 22:33:44 UTC
Description of problem:
There are rumors on the ceph-users mailing list that 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 package to be present on the system.

We should switch the init script to use "root" as is done on Debian/Ubuntu.

Version-Release number of selected component (if applicable):
ceph-0.94.1-5.el7cp

See http://lists.ceph.com/pipermail/ceph-users-ceph.com/2015-April/000257.html

Comment 1 Ken Dreyer (Red Hat) 2015-04-23 21:22:42 UTC
QE team: in order to verify this bug is fixed, you should verify that "service ceph-radosgw start" works even when the httpd package is not installed on the system.

Comment 5 shilpa 2015-06-02 09:00:43 UTC
Verified on ceph-0.94.1-11.el7cp.x86_64. 

ceph-radosgw starts without httpd service. 

# service httpd status
Redirecting to /bin/systemctl status  httpd.service
httpd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)


# service ceph-radosgw start
Starting ceph-radosgw (via systemctl):  [  OK  ]

Comment 7 errata-xmlrpc 2015-06-24 15:52:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2015:1183


Note You need to log in before you can comment on or make changes to this bug.