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

jewel: common: global-init: fixup chown of the run directory along with log and asok files #8754

Merged
merged 8 commits into from Jun 27, 2016
Merged

Conversation

ghost
Copy link

@ghost ghost commented Apr 26, 2016

Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit aecab14)
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 860977b)
If init flags have changed between the time ceph context was
instantiated and now, update them. This can happen, for example, if
between manual global_pre_init() and global_init() calls, a daemon adds
modifies it's init flags.

Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit a0ad13d)
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 206585c)
Also performs log file chown() operations if permission drop has been
deferred. Documents that admin socket chown() happen in the common init
path.

Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 9d51379)
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 9c82d84)
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 088cc66)
fchown() returns success, but does not change asok file
ownership. chown() does.

Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 3d051a5)
@smithfarm smithfarm modified the milestones: hammer, jewel Apr 26, 2016
ghost pushed a commit that referenced this pull request May 10, 2016
…directory along with log and asok files

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request May 10, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented May 10, 2016

test this please

1 similar comment
@ghost
Copy link

ghost commented May 11, 2016

test this please

ghost pushed a commit that referenced this pull request May 11, 2016
…directory along with log and asok files

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented May 31, 2016

test this please

@ghost
Copy link

ghost commented May 31, 2016

test this please (bluefs mount crash)

@ghost
Copy link

ghost commented Jun 8, 2016

test this please (log is no longer available)

@athanatos
Copy link
Contributor

This seems to be failing make check.

@ghost
Copy link
Author

ghost commented Jun 10, 2016

@dachary / @athanatos - Another bluefs mount crash. Performing a local run of make check, unittest_bluefs succeeds.

@ghost
Copy link

ghost commented Jun 10, 2016

test this please (bluefs mount crash)

@ghost
Copy link
Author

ghost commented Jun 10, 2016

@dachary / @athanatos: make check looks to have passed, including: PASS: unittest_bluefs

ghost pushed a commit that referenced this pull request Jun 16, 2016
…directory along with log and asok files

Reviewed-by:
@ghost
Copy link

ghost commented Jun 27, 2016

@liewegas does this backport look good to merge ? It passed the rados suite http://tracker.ceph.com/issues/16344#note-7 except for one failure which I believe is unrelated).

@liewegas liewegas merged commit e16830c into ceph:jewel Jun 27, 2016
@theanalyst theanalyst changed the title jewel: global-init: fixup chown of the run directory along with log and asok files jewel: common: global-init: fixup chown of the run directory along with log and asok files Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants