Commit 3fd79a04 authored by Monty's avatar Monty

MMDEV-27823 mariadb-install-db --group fails

Fixed by not sending --group option to the server (for now)

Reviwer: Sergei Golubchik
parent 1c74d1bc
...@@ -484,10 +484,11 @@ then ...@@ -484,10 +484,11 @@ then
args="$args --user=$user" args="$args --user=$user"
fi fi
if test -n "$group" #To be enabled if/when we enable --group as an option to mysqld
then #if test -n "$group"
args="$args --group=$group" #then
fi # args="$args --group=$group"
#fi
# When doing a "cross bootstrap" install, no reference to the current # When doing a "cross bootstrap" install, no reference to the current
# host should be added to the system tables. So we filter out any # host should be added to the system tables. So we filter out any
......
...@@ -722,6 +722,7 @@ then ...@@ -722,6 +722,7 @@ then
if test "$user" != "root" -o $SET_USER = 1 if test "$user" != "root" -o $SET_USER = 1
then then
USER_OPTION="--user=$user" USER_OPTION="--user=$user"
# To be used if/when we enable --system-group as an option to mysqld
GROUP_OPTION="--group=$group" GROUP_OPTION="--group=$group"
fi fi
if test -n "$open_files" if test -n "$open_files"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment