Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1754469

Summary: client_ed25519.so conflicts with mariadb-server-3:10.4.7-1.module_f32+6032+bae5e037.x86_64
Product: [Fedora] Fedora Modules Reporter: Morten Stevens <ms>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acaringi, hhorak, ljavorsk, mkocka, mmuzila, mschorm, phracek, rbean
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-30 12:17:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Morten Stevens 2019-09-23 11:01:23 UTC
Description of problem:

file /usr/lib64/mariadb/plugin/client_ed25519.so from install of mariadb-connector-c-3.1.3-3.fc32.x86_64 conflicts with file from package mariadb-server-3:10.4.7-1.module_f32+6032+bae5e037.x86_64

Version-Release number of selected component (if applicable):

mariadb-connector-c-3.1.3-3.fc32.x86_64
mariadb-server-10.4.7-1.module_f32+6032+bae5e037.x86_64

Steps to Reproduce:
1. dnf module enable mariadb:10.4
2. dnf install mariadb-server
3. dnf update mariadb-connector-c*

Actual results:

# dnf update mariadb-connector-c*
Last metadata expiration check: 0:06:14 ago on Mon 23 Sep 2019 12:53:27 PM CEST.
Dependencies resolved.
=====================================================================================================================================
 Package                                     Architecture            Version                          Repository                Size
=====================================================================================================================================
Upgrading:
 mariadb-connector-c                         x86_64                  3.1.3-3.fc32                     rawhide                  204 k
 mariadb-connector-c-config                  noarch                  3.1.3-3.fc32                     rawhide                   12 k

Transaction Summary
=====================================================================================================================================
Upgrade  2 Packages

Total size: 216 k
Total download size: 12 k
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] mariadb-connector-c-3.1.3-3.fc32.x86_64.rpm: Already downloaded
(2/2): mariadb-connector-c-config-3.1.3-3.fc32.noarch.rpm                                             25 kB/s |  12 kB     00:00
-------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 25 kB/s |  12 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/lib64/mariadb/plugin/client_ed25519.so from install of mariadb-connector-c-3.1.3-3.fc32.x86_64 conflicts with file from package mariadb-server-3:10.4.7-1.module_f32+6032+bae5e037.x86_64

Expected results:

no file conflict

Comment 1 Michal Schorm 2019-09-25 11:53:42 UTC
Yeah, that's one obvious bug. Thanks for reportign it.

Recently the MariaDB upstream made possible for the plugin to be built in the connector-c. (Until that it was built with the server)
Since it is a client plugin, it should live in the connector, rather than server package.

I moved it to the connector and I made an atomic update in Rawhide (well, in Rawhide it's not exactly atomic, but close enough. For all other Fedora releases it will be atomic - a single BODHI update)
Aaand I forgot about the modules.

I'm going to update the modules and rebuild them for Rawhide.

Comment 2 Michal Schorm 2019-09-25 12:46:38 UTC
Fix prepared, pushed.
Modules are building now.

Comment 3 Michal Schorm 2019-09-26 11:44:15 UTC
The modules have been built:
MariaDB 10.3:     https://release-engineering.github.io/mbs-ui/module/6679
MariaDb 10.4:     https://release-engineering.github.io/mbs-ui/module/6687

Once they'll get to the Rawhide, you can test them.

Comment 4 Michal Schorm 2019-09-30 12:17:29 UTC
The modules have made it to the Rawhide.

Both are installable.

Thanks for the report.

Comment 5 Morten Stevens 2019-09-30 12:39:27 UTC
(In reply to Michal Schorm from comment #3)
> The modules have been built:
> MariaDB 10.3:     https://release-engineering.github.io/mbs-ui/module/6679
> MariaDb 10.4:     https://release-engineering.github.io/mbs-ui/module/6687
> 
> Once they'll get to the Rawhide, you can test them.

Thank you. I can confirm that everything works fine.