Bug 2494545
| Summary: | Use '-any' virtual provide for mariadb / mysql dependencies | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Schorm <mschorm> |
| Component: | ncid | Assignee: | Mosaab Alzoubi <moceap> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 45 | CC: | esandeen, jlcster, moceap |
| Target Milestone: | --- | Flags: | mschorm:
needinfo?
(moceap) |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ncid 1.7 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2456347 | ||
|
Description
Michal Schorm
2026-06-29 17:18:24 UTC
NCID does not install MariaDB or MySQL. It just gives instructions on how to configure them for NCID. NCID does not install MariaDB or MySQL. It just gives instructions on how to configure them for NCID. The current code specifically requires 'mysql': https://src.fedoraproject.org/rpms/ncid/blob/rawhide/f/ncid.spec#_78 and the resulting package really does require mysql: https://koji.fedoraproject.org/koji/rpminfo?rpmID=47415843 Should the reqiuremnt be dropped on all active Fedora releases, instead of the fix I proposed? I haven't used NCID for quite some time but maybe I can help here. The mysql subpackage (ncid-mysql) does explicitly require "mysql" in the spec file today. I think this makes sensein general, as ncid-mysql is worthless without the database installed, correct? (Presumably that was the rationale for splitting out the subpackage in the first place). Michael is suggesting that instead of requiring this by the explicit "mysql" name, we should instead Require: mysql-any and Recommends: mysql so that any available mysql-compatible package name (MariaDB, MySQL) and/or version will satisfy that dependency for this subpackage. IOWS, the PR makes sense to me. Thanks, -Eric The next release, ncid-1.19, will have the recommended way to require mysql. This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle. Changing version to 45. |