Bug 1214358

Summary: mokutil: get rid of perl in modhash
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ludwig Nussel <lnussel>
Component: BasesystemAssignee: Gary Ching-Pang Lin <glin>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jlee
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1170066    

Description Ludwig Nussel 2023-08-17 11:29:42 UTC
In order to be able to remove Perl from the minimal system at some point we need to get rid of tools using perl. The modhash script in the mokutil package is written in Perl. Is the tool still needed, and if so how about rewriting it in eg shell, C or Rust?
Comment 1 Gary Ching-Pang Lin 2023-08-18 06:36:41 UTC
modhash is mainly for generating the hash of a kernel module so that the user can enroll the hash into MokListX, but I think the tool is rarely used since it's not effective to block a kernel module by hash. Will discuss with Joey about the future of modhash.
Comment 2 Ludwig Nussel 2023-09-04 08:40:11 UTC
So we could just drop it?
Comment 3 Gary Ching-Pang Lin 2023-09-05 01:59:25 UTC
The script is already dropped in factory :)
Comment 4 Ludwig Nussel 2023-09-05 06:39:06 UTC
Wonderful, thanks! :-)