Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699424 - dev-db/mariadb-10.2.22-r1: script /usr/bin/galera_recovery uses wrong my_print_defaults
Summary: dev-db/mariadb-10.2.22-r1: script /usr/bin/galera_recovery uses wrong my_prin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-06 08:45 UTC by Tadej Obrstar
Modified: 2019-11-12 14:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tadej Obrstar 2019-11-06 08:45:11 UTC
In line 27 the script /usr/bin/galera_recovery sets print_defaults="/usr/bin/my_print_defaults" which is the wrong version (belonging to dev-db/mysql-connector-c). This leads to the error:

my_print_defaults: [ERROR] unknown option '--mysqld'

setting print_defaults="/usr/libexec/mariadb/my_print_defaults" fixes the problem.

Reproducible: Always

Steps to Reproduce:
1. run /usr/bin/galera_recovery
Actual Results:  
my_print_defaults: [ERROR] unknown option '--mysqld'

Expected Results:  
galera_recovery output
Comment 1 Larry the Git Cow gentoo-dev 2019-11-06 18:12:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f60a97d01ed72dfd406403a7f58ec0f422e1c85d

commit f60a97d01ed72dfd406403a7f58ec0f422e1c85d
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-11-06 18:07:20 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-11-06 18:12:35 +0000

    dev-db/mariadb: Version bump for 10.2.28
    
    Bug: https://bugs.gentoo.org/699424
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mariadb/Manifest                        |   1 +
 dev-db/mariadb/files/MDEV-20987-fulltext.patch | 185 +++++
 dev-db/mariadb/mariadb-10.2.28.ebuild          | 987 +++++++++++++++++++++++++
 3 files changed, 1173 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2019-11-12 14:11:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=163c38d6672e4004836561f564437dc74d0b3e4c

commit 163c38d6672e4004836561f564437dc74d0b3e4c
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-11-12 14:08:03 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-11-12 14:08:03 +0000

    dev-db/mariadb: Fix galera_recovery script location
    
    Closes: https://bugs.gentoo.org/699424
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mariadb/mariadb-10.3.20.ebuild | 4 ++++
 dev-db/mariadb/mariadb-10.4.10.ebuild | 4 ++++
 2 files changed, 8 insertions(+)