Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
Description
When creating the data directories with the mysql_install_db script, UMASK settings in /etc/systemd/system/mariadb.service.d/ are ignored.
Setting UMASK in the environment works correctly, but setting /etc/systemd/system/mariadb.service.d/ as instructed in https://mariadb.com/kb/en/library/specifying-permissions-for-schema-data-directories-and-tables/ has no effect on the mysql_install_db script.
Note that UMASK settings are respected by the server itself. This is only an issue when invoking mysql_install_db manually on systemd distributions.
Attachments
Issue Links
- relates to
-
MDEV-15844 Add umask and umask_dir as server variable
- Needs Feedback
-
MDEV-16415 Make UMASK and UMASK_DEV configurable via server.cnf
- Closed
-
MDEV-17640 UMASK_DIR configuration for mysql_install_db is not applied to mysql database.
- Closed
-
MDEV-19010 run mysql_install_db automatically
- Open
-
MDEV-19126 Add UMASK as a configuration parameter in [mysqld]
- Closed
Converted to a feature request based on valerii's comment above.
The fact that mysql_install_db isn't aware of an init script is irrelevant. It is not a regression, and neither is it a bug, that it is not aware of any wrappers that might or might not be optionally used to call it, as well as mysqld itself and any other MariaDB binaries.
Please note that there is also
MDEV-17640, which is a separate but related matter.