Bug 2214391 - broken symlink /usr/lib/firmware/qcom/LENOVO/21BX.xz
Summary: broken symlink /usr/lib/firmware/qcom/LENOVO/21BX.xz
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: linux-firmware
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Stancek
QA Contact: Laura Trivelloni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-12 20:14 UTC by Pavel Cahyna
Modified: 2023-07-21 17:07 UTC (History)
0 users

Fixed In Version: linux-firmware-20230525-136.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-159661 0 None None None 2023-06-12 20:15:06 UTC

Description Pavel Cahyna 2023-06-12 20:14:28 UTC
This bug was initially created as a copy of Bug #2121447

I am copying this bug because: 

The problem has reappeared with a different symlink

Description of problem:

There is a broken symlink /usr/lib/firmware/qcom/LENOVO/21BX.xz in the linux-firmware package. The target /usr/lib/firmware/qcom/sc8280xp/LENOVO/21BX.xz does not exist (but there is a /usr/lib/firmware/qcom/sc8280xp/LENOVO/21BX directory).
This is annoying, because there is a utility (ReaR) that produces a bootable rescue image (including modules and firmware) and checks whether the content of the image is valid. If it encounters a broken symlink, it complains, because it indicates a potential problem and it will be then seen as false alarm that can ultimately obscure a real problem (see bz2021935).

Version-Release number of selected component (if applicable):
20230310-133.el9_2.noarch
How reproducible:
easily in the default install

Steps to Reproduce:
1. file /usr/lib/firmware/qcom/LENOVO/21BX.xz

Actual results:
/usr/lib/firmware/qcom/LENOVO/21BX.xz: broken symbolic link to ../sc8280xp/LENOVO/21BX.xz

Expected results:
symlink is readable

Comment 1 Jan Stancek 2023-06-13 08:41:37 UTC
scratch build for interested parties: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=2333761

# ls -la /usr/lib/firmware/qcom/LENOVO/21BX
lrwxrwxrwx. 1 root root 23 Jun 13 04:22 /usr/lib/firmware/qcom/LENOVO/21BX -> ../sc8280xp/LENOVO/21BX

# diff -u -r orig/usr new/usr
Only in new/usr/lib/firmware/qcom/LENOVO: 21BX
Only in orig/usr/lib/firmware/qcom/LENOVO: 21BX.xz


Note You need to log in before you can comment on or make changes to this bug.