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: Ownership of run dir, pid file and asok file not set when deferring permissions drop #9581

Closed
wants to merge 8 commits into from

Conversation

Abhishekvrshny
Copy link

kmroz added 8 commits June 8, 2016 11:54
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)
@Abhishekvrshny Abhishekvrshny added this to the jewel milestone Jun 8, 2016
@Abhishekvrshny Abhishekvrshny self-assigned this Jun 8, 2016
ghost pushed a commit that referenced this pull request Jun 16, 2016
…sok file not set when deferring permissions drop

Reviewed-by:
@ghost
Copy link

ghost commented Jun 27, 2016

Duplicate of #8754

@ghost ghost closed this Jun 27, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants