Skip to content

squid: libcephsqlite: ensure atexit handlers are registered after openssl - #68264

Merged
batrick merged 1 commit into
ceph:squidfrom
batrick:wip-75910-squid
Aug 21, 2026
Merged

batrick merged 1 commit into
ceph:squidfrom
batrick:wip-75910-squid

Conversation

@batrick

@batrick batrick commented Apr 8, 2026

Copy link
Copy Markdown
Member

@batrick batrick added this to the squid milestone Apr 8, 2026
@github-actions github-actions Bot added the libcephsqlite ceph SQLite3 VFS label Apr 8, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels May 14, 2026
@yuriw

yuriw commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri2-testing-20260602.202206-squid.

@batrick batrick modified the milestones: squid, v19.2.5 Jun 12, 2026
@yuriw

yuriw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri2-testing-20260622.144905-squid.

@yuriw

yuriw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR has been removed from wip-yuri2-testing-20260622.144905-squid.

@batrick batrick modified the milestones: v19.2.5, v19.2.6 Jul 21, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 21, 2026
@batrick

batrick commented Jul 30, 2026

Copy link
Copy Markdown
Member Author

trivial rebase

@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Jul 30, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Jul 30, 2026
@yuriw

yuriw commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri7-testing-20260803.175630-squid.

@batrick batrick added the core label Aug 5, 2026
@batrick

batrick commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to wip-yuri7-testing-20260803.175630-squid.

needs tested with rados/core

When the sqlite3 executable encounters an error with .bail=on, it will
make a call to exit(). The atexit() handlers will execute in LIFO order.
We need to ensure that openssl (before OpenSSL 4.0 [1]) atexit handlers are
registered before libcephsqlite.

[1] http://github.com/openssl/openssl/commit/31659fe32673a6bd66abf3f8a7d803e81c6ffeed (OpenSSL 4.0 no longer arms `OPENSSL_cleanup()` function as an `atexit(3)`)

Fixes: https://tracker.ceph.com/issues/59335
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 7949cd5)
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Aug 5, 2026
@batrick

batrick commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

jenkins test windows

@batrick
batrick merged commit 4a391e7 into ceph:squid Aug 21, 2026
8 checks passed
@batrick
batrick deleted the wip-75910-squid branch August 21, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core libcephsqlite ceph SQLite3 VFS needs-qa releng-audit-pass Release engineering: passed backport verification audit. wip-yuri7-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants