1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-4068 rpm scriptlet chown command dangerous

add --mysqld option to my_print_defaults
change server-postin script to use that
This commit is contained in:
Sergei Golubchik
2013-03-06 09:32:13 +01:00
parent 62b9be6542
commit 3bfd88d1d6
9 changed files with 63 additions and 42 deletions

View File

@ -237,7 +237,7 @@ sub defaults_for_group
sub init_log
{
foreach my $opt (defaults_for_group('mysqld mariadb'))
foreach my $opt (defaults_for_group('--mysqld'))
{
if ($opt =~ m/^--datadir=(.*)/ && -d "$1" && -w "$1")
{