Bug 2338680

Summary: chkrootkit fails to install due to use of consolehelper, incompatible with /sbin merge
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: chkrootkitAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-17 22:14:23 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:
Bug Depends On:    
Bug Blocks: 502765    

Description Adam Williamson 2025-01-17 21:34:05 UTC
Now https://fedoraproject.org/wiki//Changes/Unify_bin_and_sbin has landed in Rawhide, chkrootkit cannot be installed:

DEBUG util.py:459:  2025-01-17 06:22:56,075:   file /usr/sbin/chkrootkit conflicts between attempted installs of chkrootkit-0.57-7.fc41.x86_64 and chkrootkit-0.57-7.fc41.x86_64

This is because chkrootkit tries to have different %_sbindir/chkrootkit and %_bindir/chkrootkit files (for the purposes of consolehelper), but that's no longer possible as those are now the same directory.

Options are to just have the consolehelper wrapper in %_bindir and the 'real' executable in %_libdir (as it is now), and the consolehelper config point to to executable in %_libdir, or port to something newer like polkit (consolehelper was supposed to be deprecated 15 years ago - see https://bugzilla.redhat.com/show_bug.cgi?id=502765 ).

This breaks some compose deliverables - at least the Security spin.