Actions
Bug #14613
closeddaemon logfiles potentially created with root:root ownership
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
With a recent ceph/master build (up to and including commit 60d0df5), radosgw creates it's logfile with root:root ownership.
Included in the report is a snippet of an strace log showing the open() call occurring before the permissions drop made in
global_init(). Then another open() is performed after setgid()/setuid() which fails with EACCESS. From here, logging does not
work until the logfile is manually chown'd to ceph:ceph.
Files
Actions