Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
10.1.19
-
None
Description
The user account used to start mysqld by the galera_recovery script is hard-coded, which can make it difficult to change. See the following:
$ grep "user" /usr/bin/galera_recovery
|
user="mysql"
|
eval /usr/sbin/mysqld $cmdline_args --user=$user --wsrep_recover \
|
# shows up in systemctl status output as a hint to the user.
|
[ "$euid" = "0" ] && chown $user $log_file
|
Maybe it should use my_print_defaults to pull the user variable from configuration files instead, and only use the default if the variable isn't found?
Attachments
Issue Links
- relates to
-
MDEV-14707 systemd: remove PermissionsStartOnly=true (by removing environment _WSREP_START_POSITION)
- Open