Project

General

Profile

Actions

Bug #14613

closed

daemon logfiles potentially created with root:root ownership

Added by Anonymous over 8 years ago. Updated about 8 years ago.

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

rgw_strace.txt (3.08 KB) rgw_strace.txt Anonymous, 02/02/2016 05:50 PM
Actions

Also available in: Atom PDF