Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph-disk: use correct user in check_journal_req #12947

Merged
merged 1 commit into from Jan 19, 2017

Commits on Jan 16, 2017

  1. Ceph-disk to use correct user in check_journal_req

    The ceph-disk tool calls ceph-osd to check the journal requirements
    using OSD id 0. This creates a log file for osd-0 on the system
    using the current user/group for file permissions.  When ceph-disk
    is run as root this makes the file owned by root which makes
    the osd daemon for osd.0 unable to write to its own log file.
    
    This commit changes the journal reqs calls of ceph-osd to pass
    the ceph user and group so ceph-osd creates the log file with the
    appropriate permissions.
    
    Fixes: http://tracker.ceph.com/issues/18538
    
    Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>
    smatzek committed Jan 16, 2017
    Copy the full SHA
    bcf7514 View commit details
    Browse the repository at this point in the history