View Issue Details

IDProjectCategoryView StatusLast Update
0014690CentOS-7linux-firmwarepublic2020-01-15 01:31
Status resolvedResolutionfixed 
Platformx86_64OSCentOSOS Version7.4.1708
Product Version7.4.1708 
Target VersionFixed in Version 
Summary0014690: linux-firmware-20170606-58.gitc990aae.el7_4 Missing "Requires" for "coreutils" in .SPEC
Descriptionlinux-firmware-20170606-58.gitc990aae.el7_4 adds some code to put the Spectre rollback readme file on the target device. This introduces the "cat" command to the %post scripts. This command is part of the "coreutils" package, but this package was not added on the (missing) "Requires:" line of the .spec file. On fresh install with an .iso built with this version of the linux-firmware package, a warning is generated and the package install is marked as a failure.

* Version-Release number of selected component (if applicable):

Steps To ReproduceAdd linux-firmware-20170606-58.gitc990aae.el7_4.noarch.rpm to a 7.4 .iso image (replacing the stock version), then perform an install (I'm using a kickstart file). Check the anaconda logs (packaging.log) for the warning.
Additional Information* Actual results:

warning in packaging.log:

02:52:40,898 INFO packaging: linux-firmware-20170606-58.gitc990aae.el7_4.noarch (226/591)

02:52:40,898 INFO packaging: /var/tmp/rpm-tmp.mzWjsZ: line 9: cat: command not found

02:52:40,898 INFO packaging: warning: %post(linux-firmware-20170606-58.gitc990aae.el7_4.noarch) scriptlet failed, exit status 127

* Expected results:

No warnings.
TagsNo tags attached.




2018-04-16 14:20

reporter   ~0031621

Reported upstream as bug 1567985.

Reported here for tracking.


2020-01-15 01:23

reporter   ~0036021

I can't close this one, but it was fixed in CentOS 7.5.1804 and newer with "linux-firmware-20180220-62.git6d51311.el7.noarch.rpm" and newer, per upstream. I am no longer seeing it either.

Issue History

Date Modified Username Field Change
2018-04-16 14:18 GregoryYoung New Issue
2018-04-16 14:20 GregoryYoung Note Added: 0031621
2020-01-15 01:23 GregoryYoung Note Added: 0036021
2020-01-15 01:31 toracat Status new => resolved
2020-01-15 01:31 toracat Resolution open => fixed