Actions
Bug #10125
closedradosgw is being started as root not apache with systemd
% 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