Skip to content

tentacle: libcephsqlite: ensure atexit handlers are registered after openssl - #68263

Merged
batrick merged 1 commit into
ceph:tentaclefrom
batrick:wip-75909-tentacle
Jun 8, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
batrick:wip-75909-tentacle

Conversation

@batrick

@batrick batrick commented Apr 8, 2026

Copy link
Copy Markdown
Member

@batrick batrick added this to the tentacle milestone Apr 8, 2026
@github-actions github-actions Bot added the libcephsqlite ceph SQLite3 VFS label Apr 8, 2026
@batrick batrick modified the milestones: tentacle, v20.2.2 Apr 8, 2026
@yuriw yuriw modified the milestones: v20.2.2, tentacle Apr 27, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label May 2, 2026
@batrick batrick added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels Jun 5, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jun 5, 2026
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)
@batrick
batrick force-pushed the wip-75909-tentacle branch from 797c086 to f003bb2 Compare June 5, 2026 14:43
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jun 5, 2026
@batrick batrick modified the milestones: tentacle, v20.2.2 Jun 5, 2026
@batrick

batrick commented Jun 5, 2026

Copy link
Copy Markdown
Member Author

@batrick
batrick merged commit 602efe1 into ceph:tentacle Jun 8, 2026
7 checks passed
@batrick
batrick deleted the wip-75909-tentacle branch June 8, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libcephsqlite ceph SQLite3 VFS needs-qa releng-audit-pass Release engineering: passed backport verification audit. wip-pdonnell-testing3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants