From e23df553b06baf30ffd515f8820dd0b0d2a2ba18 Mon Sep 17 00:00:00 2001 From: euxane Date: Tue, 4 Jun 2024 18:14:35 +0200 Subject: [PATCH] doc/release-notes: migration note for stalwart-mail user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This follows 6ee84bcda0a817434597dba0e5789cc8b7232d58. Here I prefer a simple mention in the release notes instead of some automatic migration, which could interfere with all the other changes already potentially requiring some admin interventions. Co-authored-by: Sandro Jäckel --- nixos/doc/manual/release-notes/rl-2411.section.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index e645c06f109a..6e62d7a5cc91 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -48,6 +48,13 @@ for information on working around `output '...' is not allowed to refer to the following paths` errors caused by this change. +- The `stalwart-mail` service now runs under the `stalwart-mail` system user + instead of a dynamically created one via `DynamicUser`, to avoid automatic + ownership changes on its large file store each time the service was started. + This change requires to manually move the state directory from + `/var/lib/private/stalwart-mail` to `/var/lib/stalwart-mail` and to + change the ownership of the directory and its content to `stalwart-mail`. + - The `stalwart-mail` module now uses RocksDB as the default storage backend for `stateVersion` ≥ 24.11. (It was previously using SQLite for structured data and the filesystem for blobs).