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

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

Reviwer: Sergei Golubchik
This commit is contained in:
Monty 2022-03-01 11:46:57 +02:00
parent 1c74d1bcac
commit 3fd79a04b6
2 changed files with 6 additions and 4 deletions

View File

@ -484,10 +484,11 @@ then
args="$args --user=$user"
fi
if test -n "$group"
then
args="$args --group=$group"
fi
#To be enabled if/when we enable --group as an option to mysqld
#if test -n "$group"
#then
# args="$args --group=$group"
#fi
# When doing a "cross bootstrap" install, no reference to the current
# host should be added to the system tables. So we filter out any

View File

@ -722,6 +722,7 @@ then
if test "$user" != "root" -o $SET_USER = 1
then
USER_OPTION="--user=$user"
# To be used if/when we enable --system-group as an option to mysqld
GROUP_OPTION="--group=$group"
fi
if test -n "$open_files"