Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951865 - dev-db/mariadb-11.4.5: emerge --config =dev-db/mariadb-11.4.5 does not work
Summary: dev-db/mariadb-11.4.5: emerge --config =dev-db/mariadb-11.4.5 does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-03-23 02:46 UTC by Daniel Gurney
Modified: 2025-05-01 04:58 UTC (History)
1 user (show)

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


Attachments
emerge --config output (mariadb-config.txt,2.55 KB, text/plain)
2025-03-23 02:46 UTC, Daniel Gurney
Details
emerge --info (emerge-info.txt,7.04 KB, text/plain)
2025-03-23 02:46 UTC, Daniel Gurney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gurney 2025-03-23 02:46:17 UTC
Created attachment 921917 [details]
emerge --config output

When trying to run the config command as instructed by emerge with a new install, it does not finish configuring due to TLS/SSL being expected:

 * Setting root password ...                                                                                                                                                                                                          [ !! ]
/usr/bin/mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not support it
Comment 1 Daniel Gurney 2025-03-23 02:46:39 UTC
Created attachment 921918 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-05-01 04:18:10 UTC
The bug has been referenced in the following commit(s):

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

commit 81830f8875459a1b704c3b813306075950b67159
Author:     Lothar Serra Mari <mail@serra.me>
AuthorDate: 2025-04-12 13:52:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-01 04:08:56 +0000

    dev-db/mariadb: Skip ssl when setting the root password for 11.4
    
    Starting with MariaDB 11.3, SSL is enabled on the server by default,
    so while setting up the root password while skipping the default config
    file, we have to run the MariaDB client with the --skip-ssl option.
    
    Bug: https://bugs.gentoo.org/951865
    Signed-off-by: Lothar Serra Mari <mail@serra.me>
    Part-of: https://github.com/gentoo/gentoo/pull/41557
    Closes: https://github.com/gentoo/gentoo/pull/41557
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mariadb/{mariadb-11.4.5.ebuild => mariadb-11.4.5-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)