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

kraken: rgw: DUMPABLE flag is cleared by setuid preventing coredumps #13845

Merged
merged 1 commit into from Apr 12, 2017

Conversation

smithfarm
Copy link
Contributor

ff0e521 resolved the issue for the other daemons but not for rgw since
it calls setuid (via civetweb) after the new code sets PR_SET_DUMPABLE.
Add another prctl call before wait_shutdown.

Fixes: http://tracker.ceph.com/issues/19089

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit bc458d3)
@smithfarm smithfarm self-assigned this Mar 7, 2017
@smithfarm smithfarm added this to the kraken milestone Mar 7, 2017
@smithfarm smithfarm changed the title kraken: rgw daemon's DUMPABLE flag is cleared by setuid preventing coredumps kraken: rgw: DUMPABLE flag is cleared by setuid preventing coredumps Mar 7, 2017
Copy link
Contributor

@badone badone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smithfarm
Copy link
Contributor Author

This passed an RGW suite at http://tracker.ceph.com/issues/19009#note-8

@smithfarm smithfarm merged commit cfed98a into ceph:kraken Apr 12, 2017
@smithfarm smithfarm deleted the wip-19147-kraken branch April 12, 2017 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants