diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml
index e599820d965e..ff61108d7cbf 100644
--- a/nixos/doc/manual/release-notes/rl-2009.xml
+++ b/nixos/doc/manual/release-notes/rl-2009.xml
@@ -116,15 +116,24 @@ services.mysql.initialScript = pkgs.writeText "mariadb-init.sql" ''
MySQL server is now started with additional systemd sandbox/hardening options for better security. The PrivateTmp, ProtectHome, and ProtectSystem options
may be problematic when MySQL is attempting to read from or write to your filesystem anywhere outside of its own state directory, for example when
calling LOAD DATA INFILE or SELECT * INTO OUTFILE. In this scenario a variant of the following may be required:
- - allow MySQL to read from /home and /tmp directories when using LOAD DATA INFILE
+
+
+ allow MySQL to read from /home and /tmp directories when using LOAD DATA INFILE
systemd.services.mysql.serviceConfig.ProtectHome = lib.mkForce "read-only";
- - allow MySQL to write to custom folder /var/data when using SELECT * INTO OUTFILE, assuming the mysql user has write
- access to /var/data
+
+
+
+
+ allow MySQL to write to custom folder /var/data when using SELECT * INTO OUTFILE, assuming the mysql user has write
+ access to /var/data
systemd.services.mysql.serviceConfig.ReadWritePaths = [ "/var/data" ];
+
+
+
The MySQL service no longer runs its systemd service startup script as root anymore. A dedicated non root