Bug 2132969
Summary: | False missing-hash-section error | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
Component: | rpmlint | Assignee: | Tom "spot" Callaway <spotrh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | j, spotrh, tmz, tuliom, twoerner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rpmlint-2.4.0-3.fc38 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-10-11 15:26:09 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
Petr Pisar
2022-10-07 11:38:45 UTC
This check was added in upstream fdf47307 (add missing-hash-section check for HASH ELF sections, 2022-08-25)[1]. It checks for both .hash and .gnu.hash. We should be able to add 'missing-hash-section' to the fedora.toml Filters list, like: diff --git i/configs/Fedora/fedora.toml w/configs/Fedora/fedora.toml index 8443e97e..39ea6afe 100644 --- i/configs/Fedora/fedora.toml +++ w/configs/Fedora/fedora.toml @@ -320,6 +320,7 @@ Filters = [ 'sudo.* (setuid-binary|non-standard-executable-perm) /usr/bin/sudo(edit)? (root )?04', 'upstart.* (setuid-binary|non-standard-executable-perm) /sbin/initctl (root )?04', 'usermode.* (setuid-binary|non-standard-executable-perm) /usr/sbin/userhelper (root )?04', + 'missing-hash-section', ## Bash completion files are not scripts, do not require them marked as %config # 'W: non-conffile-in-etc /etc/bash_completion.d/', I'm not clear on whether we should ignore this or not, since the glibc change to drop .hash is being reverted (at least temporarily). Thoughts from anyone who knows this area well/better? [1] https://github.com/rpm-software-management/rpmlint/commit/fdf47307 https://github.com/rpm-software-management/rpmlint/pull/917 (the EAC issue from bug #2129358 was indeed a/the motivator) I suppose that short of a mass rebuild, all of the packages built recently will only have a .gnu.hash section, right? Adding warnings for all of them is not very helpful, as it just puts packagers in the middle of a policy dispute they have little to no control over. I submitted https://src.fedoraproject.org/rpms/rpmlint/pull-request/29 to fix this and some other errors/warnings added between rpmlint 2.2.0 and 2.4.0. I'll plan to merge that early next week if all goes well. FEDORA-2022-4bd445e150 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4bd445e150 FEDORA-2022-4bd445e150 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |