Bug 2231065

Summary: [RHEL 8] find: ‘/lib/firmware/intel-ucode’: No such file or directory
Product: Red Hat Enterprise Linux 8 Reporter: Eugene Syromiatnikov <esyr>
Component: microcode_ctlAssignee: Eugene Syromiatnikov <esyr>
Status: CLOSED ERRATA QA Contact: Jeff Bastian <jbastian>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.9CC: jbastian, jikortus
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: microcode_ctl-20230214-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2225681 Environment:
Last Closed: 2023-11-14 15:49:30 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: 2225681    
Bug Blocks:    

Description Eugene Syromiatnikov 2023-08-10 12:29:38 UTC
+++ This bug was initially created as a clone of Bug #2225681 +++

Description of problem:
When installing microcode_ctl-20230214-2.el9 (RHEL-9.3.0-20230718.0), an unexpected error message is displayed:

...
find: ‘/lib/firmware/intel-ucode’: No such file or directory
...

Version-Release number of selected component (if applicable):
microcode_ctl-20230214-2.el9

How reproducible:
Always.

Steps to Reproduce:
1. dnf -y install microcode_ctl-20230214-2.el9

Actual results:
An error message is displayed together with other installation-related output.

Expected results:
No unexpected error messages.

Additional info:
Could there possibly be some relation with bug 2213022?

--- Additional comment from Jiri Kortus on 2023-07-25 16:46:14 UTC ---

Additional note: I spotted and reproduced this bug on a system with multilib enabled, but I'm not sure at all if there can be any relation.

--- Additional comment from Eugene Syromiatnikov on 2023-08-09 15:59:58 UTC ---

Easily reproducible when the package is being newly installed and not upgraded.

Comment 4 Jeff Bastian 2023-08-21 21:37:13 UTC
Verified with microcode_ctl-20230214-4.el8.  There are no errors during installation of the rpm on RHEL-8.9.0.

[root@intel-localhost ~]# uname -r
4.18.0-511.el8.x86_64

[root@intel-localhost ~]# rpm -q microcode_ctl
package microcode_ctl is not installed

[root@intel-localhost ~]# yum -y install microcode_ctl
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:11:09 ago on Mon 21 Aug 2023 05:24:19 PM EDT.
Dependencies resolved.
================================================================================
 Package            Arch        Version                Repository          Size
================================================================================
Installing:
 microcode_ctl      x86_64      4:20230214-4.el8       beaker-BaseOS      7.8 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 7.8 M
Installed size: 14 M
Downloading Packages:
microcode_ctl-20230214-4.el8.x86_64.rpm          65 MB/s | 7.8 MB     00:00    
--------------------------------------------------------------------------------
Total                                            65 MB/s | 7.8 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : microcode_ctl-4:20230214-4.el8.x86_64                  1/1 
  Running scriptlet: microcode_ctl-4:20230214-4.el8.x86_64                  1/1 
  Verifying        : microcode_ctl-4:20230214-4.el8.x86_64                  1/1 
Installed products updated.

Installed:
  microcode_ctl-4:20230214-4.el8.x86_64                                         

Complete!

Comment 6 errata-xmlrpc 2023-11-14 15:49:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (microcode_ctl bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:7117