Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4.7
-
None
Description
One of the fixes for MDEV-19876 added a "chown" call to mysql_install_db:
https://github.com/mariadb/server/commit/ec494cb1fadb40ae25b944bb1229fc2d6f88e8c6
This essentially introduces a new limitation that mysql_install_db has to be run as root. This is not ideal for all users.
The "chown" call didn't actually fix MDEV-19876, so maybe we should remove it. The proper fix for MDEV-19876 required changing the RPM's post-installation script:
https://github.com/mariadb/server/commit/11f3e2366282eb8cf1cb0062793d102067db6472
In my opinion, a packaging script seems like a more appropriate place for a fix like this than mysql_install_db does.
Attachments
Issue Links
- is caused by
-
MDEV-19876 pam v2: auth_pam_tool_dir and auth_pam_tool permissions are wrong in RPMs
- Closed
- relates to
-
MDEV-22459 pam v2 should log an error if auth_pam_tool exec fails
- Closed
-
MDEV-22482 pam v2: mysql_upgrade doesn't fix the ownership/privileges of auth_pam_tool
- Open