Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1.21
-
Debian Jessie, RPM based distros too.
Description
MariaDB systemd file enforce
ProtectHome=true
That prevent to start mysqld if the datadir is set to /home/mysql/data
mariadb-service-convert does not search en enforce
ProtectHome=false
if datadir is set to non allowed path
Attachments
Issue Links
- relates to
-
MDEV-25177 Better indication of refusing to start because of ProtectHome
- Closed
Can apply to upgrades from MySQL <= 5.7 too.
Some postinst script that detects config settings that write to /home and others (includes
MDEV-10399)and drop like adding an extra file like:
https://mariadb.com/kb/en/systemd/#configuring-access-to-home-directories
Consider ProtectSystem directories, probably with a warning.