Project

General

Profile

Actions

Bug #10125

closed

radosgw is being started as root not apache with systemd

Added by Sheldon Mustard over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
giant, firefly
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On RHEL 7 when radosgw is started with systemd it runs as root not apache which causes problems with the s3gw.fcgi is called by apache user.

https://github.com/ceph/ceph/blob/master/src/init-radosgw.sysv#L88

$SYSTEMD_RUN -r bash -c "ulimit -n 32768; $RADOSGW -n $name"

Should probably be something like:

$SYSTEMD_RUN --user="$user" -r bash -c "ulimit -n 32768; $RADOSGW -n $name"

Actions

Also available in: Atom PDF