The continuwuity service files restrict read/write paths but the configuration file can have arbitrary database paths #952

Closed
opened 2025-08-29 01:11:11 +00:00 by ginger · 1 comment
Contributor

conduwuit-example.toml comes with an empty database_path (marked "YOU NEED TO EDIT THIS"). However, the conduwuit.service files include flags that restrict which directories continuwuity can access, so the only value which works when running continuwuity as a systemd service is /var/lib/conduwuit (which notably is not the example value provided in the configuration).

`conduwuit-example.toml` comes with an empty `database_path` (marked "YOU NEED TO EDIT THIS"). However, the `conduwuit.service` files include flags that restrict which directories continuwuity can access, so the only value which works when running continuwuity as a systemd service is `/var/lib/conduwuit` (which notably is _not_ the example value provided in the configuration).
Owner

Hmm, the service files should probably set it in an env var (CONTINUWUITY_DATABASE_PATH), and then the docs updated to reflect that

Hmm, the service files should probably set it in an env var (`CONTINUWUITY_DATABASE_PATH`), and then the docs updated to reflect that
Jade closed this issue 2025-09-02 13:13:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#952
No description provided.