Skip to content

CLOS-4253: Document that SQLite WAL journal mode is unsupported for lvestats2.db#325

Open
prilr wants to merge 1 commit into
cloudlinux:masterfrom
prilr:CLOS-4253-support-wal-journal-mode-for-lvestats2.d
Open

CLOS-4253: Document that SQLite WAL journal mode is unsupported for lvestats2.db#325
prilr wants to merge 1 commit into
cloudlinux:masterfrom
prilr:CLOS-4253-support-wal-journal-mode-for-lvestats2.d

Conversation

@prilr
Copy link
Copy Markdown
Contributor

@prilr prilr commented Jun 5, 2026

In WAL mode SQLite must write the root-owned -shm sidecar even for SELECT, so unprivileged, CageFS-isolated readers (cloudlinux-statistics, lveinfo) fail with "attempt to write a readonly database".

Only the default DELETE journal mode is supported; the lve-stats daemon now resets a WAL-configured database back to DELETE on startup. Add a warning note to the LVE Stats component docs.

…vestats2.db

In WAL mode SQLite must write the root-owned -shm sidecar even for SELECT, so
unprivileged, CageFS-isolated readers (cloudlinux-statistics, lveinfo) fail with
"attempt to write a readonly database". Only the default DELETE journal mode is
supported; the lve-stats daemon now resets a WAL-configured database back to
DELETE on startup. Add a warning note to the LVE Stats component docs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant