Bug 2329497
| Summary: | DNF has no default enabled gpgcheck setting | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | fanyt+fedora |
| Component: | fedora-release | Assignee: | Stephen Gallagher <sgallagh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | alciregi, fedoraproject, jkolarik, kevin, mboddu, nsella, pbrobinson, pkratoch, ppisar, rpm-software-management, samyak.jn11, sgallagh, thrcka, zbyszek |
| Target Milestone: | --- | Keywords: | Patch, Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | fedora-release-41-29 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-12-05 02:23:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
fanyt+fedora
2024-11-29 15:40:27 UTC
Should be against dnf5 Indeed, it defaults the false. That's not good. I checked both DNF4 and DNF5. They both as software without a configuration default to false. However, you are right that /etc/dnf/dnf.conf file as distributed with DNF4 Fedora package sets gpgcheck to true. That's a difference from DNF5 Fedora package. I will ask DNF5 upstream whether the want to change a default to true, or whether we will override the settings within a distribution-wide configuration. I guess the latter will happen in the name of compatibility. Thank you very much for looking into this. Which ever option makes the most sense, I'm happy with it. Thanks again. DNF5 upstream said that the change should be done on Fedora distribution level in /usr/share/dnf5/libdnf.conf.d/20-fedora-defaults.conf file maintained in fedora-release component where similar Fedora-specific tunes reside. Affected package is fedora-release-common-41-28.noarch. I opened two pull requests in dist-git. FEDORA-2024-6c3a93ab2c (fedora-release-41-29) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-6c3a93ab2c FEDORA-2024-6c3a93ab2c has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6c3a93ab2c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6c3a93ab2c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-6c3a93ab2c (fedora-release-41-29) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |